Skip to content

Commit

Permalink
Remove unused test fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
melanieclarke committed Dec 19, 2024
1 parent 1834ec0 commit d8a781a
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions jwst/stpipe/tests/test_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d8a781a

Please sign in to comment.