From 893a6cfba4b7a5adb770443d6ecfacc2bfc60787 Mon Sep 17 00:00:00 2001 From: Alex Zwanenburg Date: Mon, 18 Mar 2024 16:38:15 +0100 Subject: [PATCH] Fixed incorrect tests. --- test/import_image_and_mask_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/import_image_and_mask_test.py b/test/import_image_and_mask_test.py index 9402adac..6749a23e 100644 --- a/test/import_image_and_mask_test.py +++ b/test/import_image_and_mask_test.py @@ -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. @@ -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.