diff --git a/src/dcqc/tests/bioformats_info_test.py b/src/dcqc/tests/bioformats_info_test.py index 40144f7..7099efa 100644 --- a/src/dcqc/tests/bioformats_info_test.py +++ b/src/dcqc/tests/bioformats_info_test.py @@ -4,7 +4,9 @@ class BioFormatsInfoTest(ExternalBaseTest): tier = 2 - pass_code = "0" + pass_code = 0 + fail_code = 1 + failure_reason_location = "std_err" target: SingleTarget def generate_process(self) -> Process: diff --git a/src/dcqc/tests/libtiff_info_test.py b/src/dcqc/tests/libtiff_info_test.py index c7d146d..4c9c782 100644 --- a/src/dcqc/tests/libtiff_info_test.py +++ b/src/dcqc/tests/libtiff_info_test.py @@ -4,7 +4,9 @@ class LibTiffInfoTest(ExternalBaseTest): tier = 2 - pass_code = "0" + pass_code = 0 + fail_code = 1 + failure_reason_location = "std_err" target: SingleTarget def generate_process(self) -> Process: diff --git a/src/dcqc/tests/ome_xml_schema_test.py b/src/dcqc/tests/ome_xml_schema_test.py index f8e246a..9df2a31 100644 --- a/src/dcqc/tests/ome_xml_schema_test.py +++ b/src/dcqc/tests/ome_xml_schema_test.py @@ -4,7 +4,9 @@ class OmeXmlSchemaTest(ExternalBaseTest): tier = 2 - pass_code = "0" + pass_code = 0 + fail_code = 1 + failure_reason_location = "std_out" target: SingleTarget def generate_process(self) -> Process: diff --git a/src/dcqc/tests/tiff_date_time_test.py b/src/dcqc/tests/tiff_date_time_test.py index dfeecd9..3cb077b 100644 --- a/src/dcqc/tests/tiff_date_time_test.py +++ b/src/dcqc/tests/tiff_date_time_test.py @@ -4,7 +4,9 @@ class TiffDateTimeTest(ExternalBaseTest): tier = 4 - pass_code = "1" + pass_code = 1 + fail_code = 0 + failure_reason_location = "std_out" target: SingleTarget def generate_process(self) -> Process: diff --git a/src/dcqc/tests/tiff_tag_306_date_time_test.py b/src/dcqc/tests/tiff_tag_306_date_time_test.py index 5ec5d67..a290244 100644 --- a/src/dcqc/tests/tiff_tag_306_date_time_test.py +++ b/src/dcqc/tests/tiff_tag_306_date_time_test.py @@ -4,7 +4,9 @@ class TiffTag306DateTimeTest(ExternalBaseTest): tier = 4 - pass_code = "1" + pass_code = 1 + fail_code = 0 + failure_reason_location = "std_out" target: SingleTarget def generate_process(self) -> Process: diff --git a/tests/test_main.py b/tests/test_main.py index 62e90fe..7e05082 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -69,6 +69,7 @@ def test_create_tests(get_data, get_output): def test_create_process(get_data, get_output): input_json = get_data("test.external.json") + print(input_json) output_path = get_output("create_process") / "process.json" output_path.unlink(missing_ok=True)