From 6dada0439ce5661e3d3e612f3a339f122f090c37 Mon Sep 17 00:00:00 2001 From: Dave Davis Date: Mon, 27 Nov 2023 15:52:50 -0500 Subject: [PATCH] remove the preview tests --- romancal/regtest/test_wfi_pipeline.py | 41 --------------------------- 1 file changed, 41 deletions(-) diff --git a/romancal/regtest/test_wfi_pipeline.py b/romancal/regtest/test_wfi_pipeline.py index bdd80c4a5..b91bead01 100644 --- a/romancal/regtest/test_wfi_pipeline.py +++ b/romancal/regtest/test_wfi_pipeline.py @@ -518,44 +518,3 @@ def test_processing_pipeline_all_saturated(rtdata, ignore_asdf_paths): assert model.meta.cal_step.flat_field == "SKIPPED" assert model.meta.cal_step.photom == "SKIPPED" - -@pytest.mark.bigdata -@pytest.mark.soctests -@metrics_logger("DMS281") -def test_level2_image_preview(rtdata, ignore_asdf_paths): - """Tests for flat field image preview requirements DMS 281""" - input_data = "r0000501001001001001_01101_0001_WFI01_cal.asdf" - rtdata.get_data(f"WFI/grism/{input_data}") - rtdata.input = input_data - - # Test Pipeline - output = "r0000501001001001001_01101_0001_WFI01_cal_thumb.png" - rtdata.output = output - args = [ - "roman_static_preview", - "thumbnail", - rtdata.input, - ] - subprocess.run(args) - assert os.path.exists(rtdata.output) is True - - -@pytest.mark.bigdata -@pytest.mark.soctests -@metrics_logger("DMS278") -def test_level2_grism_preview(rtdata, ignore_asdf_paths): - """Tests for flat field grism preview requirements DMS 278""" - input_data = "r0000501001001001001_01101_0001_WFI01_cal.asdf" - rtdata.get_data(f"WFI/grism/{input_data}") - rtdata.input = input_data - - # Test Pipeline - output = "r0000501001001001001_01101_0001_WFI01_cal_thumb.png" - rtdata.output = output - args = [ - "roman_static_preview", - "thumbnail", - rtdata.input, - ] - subprocess.run(args) - assert os.path.exists(rtdata.output) is True