Skip to content

Commit

Permalink
update roman WFI test file for latest rad/rdm
Browse files Browse the repository at this point in the history
  • Loading branch information
bmorris3 committed Jul 18, 2023
1 parent 0f3f4f6 commit f6d6281
Show file tree
Hide file tree
Showing 2 changed files with 433 additions and 3 deletions.
4 changes: 1 addition & 3 deletions jdaviz/configs/imviz/tests/test_parser_roman.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
roman_datamodels = pytest.importorskip("roman_datamodels")

from astropy.utils.data import get_pkg_data_filename
from erfa.core import ErfaWarning
from gwcs import WCS as GWCS


Expand All @@ -15,8 +14,7 @@
(['data', 'var_rnoise'], 2)])
def test_roman_wfi_ext_options(imviz_helper, ext_list, n_dc):
filename = get_pkg_data_filename('data/roman_wfi_image_model.asdf')
with pytest.warns(ErfaWarning, match=r".*dubious year"):
imviz_helper.load_data(filename, ext=ext_list)
imviz_helper.load_data(filename, ext=ext_list)
dc = imviz_helper.app.data_collection
assert len(dc) == n_dc

Expand Down
Loading

0 comments on commit f6d6281

Please sign in to comment.