Skip to content

Commit

Permalink
Fixed incorrect tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzwanenburg committed Mar 18, 2024
1 parent 1a4d0f7 commit 893a6cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/import_image_and_mask_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ def test_failure_multiple_image_and_mask_import_data_xml():
image_list = import_image_and_mask(
image=target_file
)
assert "No _images were found" in str(exception_info.value)
assert "No images were found" in str(exception_info.value)

# DICOM stack and _masks for all samples, but with incorrect instructions.
# No matching mask modality.
Expand All @@ -743,7 +743,7 @@ def test_failure_multiple_image_and_mask_import_data_xml():
image_list = import_image_and_mask(
image=target_file
)
assert "No _masks were found" in str(exception_info.value)
assert "No masks were found" in str(exception_info.value)

# DICOM stack and _masks for all samples, but with incorrect instructions.
# Wrong image_name.
Expand Down

0 comments on commit 893a6cf

Please sign in to comment.