Skip to content

Commit

Permalink
fix export tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sherwoodf committed Jul 31, 2024
1 parent 565151a commit 3dcb613
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"title_id": "Study Component 1",
"uuid": "47a4ab60-c76d-4424-bfaa-c2a024de720c",
"description": "Description of study component 1",
"attribute": {},
"analysis_method": [
{
"protocol_description": "Test image analysis",
Expand Down
1 change: 1 addition & 0 deletions bia-export/test/output_data/bia_export.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"title_id": "Study Component 1",
"uuid": "47a4ab60-c76d-4424-bfaa-c2a024de720c",
"description": "Description of study component 1",
"attribute": {},
"analysis_method": [
{
"protocol_description": "Test image analysis",
Expand Down
1 change: 1 addition & 0 deletions bia-export/test/test_local_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ def test_cli_export_website_studies(tmp_path):


assert result.exit_code == 0
# Note this tests for exact equivance in files, i.e. order of fields and indentation matters
assert filecmp.cmp(expected_output, outfile, shallow=False)

0 comments on commit 3dcb613

Please sign in to comment.