Skip to content

Commit

Permalink
tests: indents caused coverage failures
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman committed Jan 2, 2025
1 parent 4e97083 commit 3bf2a6a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions tests/test_quality_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,10 @@ def test_multi_session(self):
),
],
)
self.assertTrue(
"is in a single-asset QCEvaluation and should not have evaluated_assets" in repr(context.exception)
)

self.assertTrue(
"is in a single-asset QCEvaluation and should not have evaluated_assets" in repr(context.exception)
)

# Check that multi-asset with empty evaluated_assets raises a validation error
with self.assertRaises(ValidationError) as context:
Expand All @@ -348,7 +349,8 @@ def test_multi_session(self):
),
],
)
self.assertTrue("is in a multi-asset QCEvaluation and must have evaluated_assets" in repr(context.exception))

self.assertTrue("is in a multi-asset QCEvaluation and must have evaluated_assets" in repr(context.exception))

# Check that multi-asset with missing evaluated_assets raises a validation error
with self.assertRaises(ValidationError) as context:
Expand All @@ -366,7 +368,8 @@ def test_multi_session(self):
),
],
)
self.assertTrue("is in a multi-asset QCEvaluation and must have evaluated_assets" in repr(context.exception))

self.assertTrue("is in a multi-asset QCEvaluation and must have evaluated_assets" in repr(context.exception))

def test_status_filters(self):
"""Test that QualityControl.status(modality, stage) filters correctly"""
Expand Down

0 comments on commit 3bf2a6a

Please sign in to comment.