Skip to content
Snippets Groups Projects
Commit ee1ef84a authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Fix bobrc json format

parent b2084536
No related branches found
No related tags found
1 merge request!234Add a custom BOBRC file
Pipeline #52352 passed
{
"bob_data_folder": "./bob_data",
"bob_data_folder": "./bob_data"
}
#!/usr/bin/env python
# coding=utf-8
import json
from .ci import is_private
from .constants import BOBRC_PATH
def test_is_private():
......@@ -9,3 +11,9 @@ def test_is_private():
base_url = "https://gitlab.idiap.ch"
assert not is_private(base_url, "bob/bob.extension")
assert is_private(base_url, "bob/private")
def test_bobrc_json_validity():
with open(BOBRC_PATH) as f:
json.load(f)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment