From 095d364335268710228e5ad8bb39a2a8512190d8 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 | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/jwst/stpipe/tests/test_utilities.py b/jwst/stpipe/tests/test_utilities.py index 3a5993b0fc..145440c6f9 100644 --- a/jwst/stpipe/tests/test_utilities.py +++ b/jwst/stpipe/tests/test_utilities.py @@ -5,7 +5,6 @@ from jwst.stpipe.utilities import all_steps, NOT_SET import jwst.pipeline import jwst.step -import pytest from stdatamodels.jwst import datamodels from jwst.stpipe.utilities import invariant_filename @@ -60,26 +59,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"