From d8a781adfd32fe955a06ae5d4ff24d1cfa4e340b Mon Sep 17 00:00:00 2001 From: Melanie Clarke Date: Thu, 19 Dec 2024 09:39:40 -0500 Subject: [PATCH] Remove unused test fixture --- jwst/stpipe/tests/test_utilities.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/jwst/stpipe/tests/test_utilities.py b/jwst/stpipe/tests/test_utilities.py index 3a5993b0fc..dd64ffec39 100644 --- a/jwst/stpipe/tests/test_utilities.py +++ b/jwst/stpipe/tests/test_utilities.py @@ -60,26 +60,6 @@ def test_record_query_step_status(): assert query_step_status(model3, 'test_step') == NOT_SET -# make up a datamodel for testing filename -@pytest.fixture(scope='function') -def miri_ifushort(): - """ Generate input model IFU image """ - - - mirifushort_short = { - 'detector': 'MIRIFUSHORT', - 'channel': '12', - 'band': 'SHORT', - 'name': 'MIRI' - - } - input_model = datamodels.IFUImageModel() - input_model.meta.exposure.type = 'MIR_MRS' - input_model.meta.instrument._instance.update(mirifushort_short) - input_model.meta.filename = 'test1.fits' - return input_model - - def change_name_func(model): model.meta.filename = "changed" model.meta.cal_step.pixel_replace = "COMPLETE"