Skip to content

Commit

Permalink
This fails in notebook on main at least
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Nov 1, 2023
1 parent a65813f commit e1a9d06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jdaviz/configs/imviz/tests/test_viewers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from jdaviz.core.config import get_configuration
from jdaviz.configs.imviz.helper import Imviz
from jdaviz.configs.imviz.plugins.viewers import ImvizImageView
from jdaviz.configs.imviz.tests.utils import BaseImviz_WCS_WCS
from jdaviz.configs.imviz.tests.utils import BaseImviz_WCS_NoWCS


@pytest.mark.parametrize(
Expand Down Expand Up @@ -101,11 +101,11 @@ class TestDeleteData(BaseImviz_WCS_NoWCS):

def test_plot_options_after_destroy(self):
self.imviz.create_image_viewer(viewer_name="imviz-1")
self.imviz.app.add_data_to_viewer('imviz-1', 'has_wcs_2[SCI,1]')
self.imviz.app.add_data_to_viewer('imviz-1', 'no_wcs[SCI,1]')

po = self.imviz.plugins['Plot Options']
po.open_in_tray()
po.viewer = "imviz-1"
po.stretch_function = "Square Root"
self.imviz.destroy_viewer("imviz-1")
assert len(po.layer.choices) == 2
assert len(po.layer.choices) == 2

0 comments on commit e1a9d06

Please sign in to comment.