Skip to content

Commit

Permalink
switch order of asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssadai committed Dec 9, 2024
1 parent ddedf47 commit 5174bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/test_cli_derivatives.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ def test_unrecognized_pipelines_and_versions_excluded_from_output(
"hasCompletedPipeline"
]

ses01_completed_pipes = sessions_with_completed_pipes.get("ses-01")
assert sessions_with_completed_pipes.keys() == {"ses-01"}
ses01_completed_pipes = sessions_with_completed_pipes["ses-01"]
assert len(ses01_completed_pipes) == 1
assert (
ses01_completed_pipes[0]["hasPipelineName"]["identifier"]
Expand Down

0 comments on commit 5174bc6

Please sign in to comment.