Skip to content

Commit

Permalink
Fix filename order in test
Browse files Browse the repository at this point in the history
  • Loading branch information
melanieclarke committed Dec 19, 2024
1 parent 112c6fb commit 8f2b88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwst/pixel_replace/tests/test_pixel_replace.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def test_pixel_replace_container_names(tmp_cwd, input_model_function):
assert model.meta.cal_step.pixel_replace == 'COMPLETE'

result_files = glob(os.path.join(tmp_cwd, '*pixelreplacestep.fits'))
for i, file in enumerate(result_files):
for i, file in enumerate(sorted(result_files)):
basename = os.path.basename(file)
assert expected_name[i] == basename
with datamodels.open(file) as model:
Expand Down

0 comments on commit 8f2b88d

Please sign in to comment.