Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
haticekaratay committed Dec 23, 2024
1 parent b5b4570 commit 670cf31
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions jdaviz/configs/imviz/tests/test_catalogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
from astropy.io import fits
from astropy.nddata import NDData
from astropy.table import Table, QTable
from numpy.testing import assert_allclose


@pytest.mark.remote_data
Expand Down Expand Up @@ -170,10 +169,10 @@ def test_plugin_image_with_result(self, imviz_helper, tmp_path):
# so test results don't change
catalogs_plugin.zoom_to_selected(padding=50 / 2048)

assert imviz_helper.viewers['imviz-0']._obj.state.x_min == 858.24969
assert imviz_helper.viewers['imviz-0']._obj.state.x_max == 958.38461
assert imviz_helper.viewers['imviz-0']._obj.state.y_min == 278.86265
assert imviz_helper.viewers['imviz-0']._obj.state.y_max == 378.8691
assert imviz_helper.viewers['imviz-0']._obj.state.x_min == 1022.5757000000001
assert imviz_helper.viewers['imviz-0']._obj.state.x_max == 1122.5757
assert imviz_helper.viewers['imviz-0']._obj.state.y_min == 704.7727144165947
assert imviz_helper.viewers['imviz-0']._obj.state.y_max == 745.8271655834053


def test_from_file_parsing(imviz_helper, tmp_path):
Expand Down

0 comments on commit 670cf31

Please sign in to comment.