Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Nov 18, 2024
1 parent 3bdcb8a commit 44a42dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions jdaviz/core/tests/test_config_detection.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import pytest
import numpy as np

from astropy.utils.data import download_file
from specutils import SpectralRegion

from jdaviz.core.data_formats import identify_helper

# URIs to example JWST/HST files on MAST, and their
Expand All @@ -26,6 +22,7 @@
'specviz']
]


@pytest.mark.skip(reason="filenames changed")
@pytest.mark.remote_data
@pytest.mark.filterwarnings(r"ignore::astropy.wcs.wcs.FITSFixedWarning")
Expand Down
4 changes: 2 additions & 2 deletions jdaviz/tests/test_user_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ def test_specviz_data_labels(specviz_helper, spectrum1d):
specviz_helper.load_data(spectrum1d, data_label=label)

assert specviz_helper.data_labels == [label]
assert specviz_helper.viewers['spectrum-viewer'].data_labels_loaded == [label]
assert specviz_helper.viewers['spectrum-viewer'].data_labels_visible == [label]
assert specviz_helper.viewers['spectrum-viewer'].data_menu.data_labels_loaded == [label]
assert specviz_helper.viewers['spectrum-viewer'].data_menu.data_labels_visible == [label]

0 comments on commit 44a42dc

Please sign in to comment.