Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaumet committed Sep 19, 2023
1 parent 62a3084 commit 6176674
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bids_prov/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ def test_get_default_graph():
# Test the default arguments
graph, agent_id = get_default_graph(label)
assert graph["@context"] == CONTEXT_URL
assert graph["Records"]["prov:Agent"][0]["Label"] == label
assert graph["Records"]["Software"][0]["Label"] == label
assert agent_id is not None

# Test custom arguments
graph, agent_id = get_default_graph(label, context_url, spm_ver)
assert graph["@context"] == context_url
assert graph["Records"]["prov:Agent"][0]["Label"] == label
assert graph["Records"]["prov:Agent"][0]["version"] == spm_ver
assert graph["Records"]["Software"][0]["Label"] == label
assert graph["Records"]["Software"][0]["Version"] == spm_ver
assert agent_id is not None


Expand Down

0 comments on commit 6176674

Please sign in to comment.