diff --git a/jdaviz/configs/imviz/tests/test_simple_aper_phot.py b/jdaviz/configs/imviz/tests/test_simple_aper_phot.py index aec604c136..70a4c52c89 100644 --- a/jdaviz/configs/imviz/tests/test_simple_aper_phot.py +++ b/jdaviz/configs/imviz/tests/test_simple_aper_phot.py @@ -73,7 +73,7 @@ def test_plugin_wcs_dithered(self): 'data_label', 'subset_label', 'timestamp'] assert_array_equal(tbl['id'], [1, 2]) assert_allclose(tbl['background'], 0) - assert_quantity_allclose(tbl['sum_aper_area'], 63.617251 * (u.pix * u.pix)) + assert_quantity_allclose(tbl['sum_aper_area'], [63.617251, 62.22684693104279] * (u.pix * u.pix)) # noqa assert_array_equal(tbl['pixarea_tot'], None) assert_array_equal(tbl['aperture_sum_counts'], None) assert_array_equal(tbl['aperture_sum_counts_err'], None) @@ -106,7 +106,7 @@ def test_plugin_wcs_dithered(self): sky = tbl['sky_centroid'] assert_allclose(sky.ra.deg, 337.518943) assert_allclose(sky.dec.deg, -20.832083) - assert_allclose(tbl['sum'], 62.22684693104279) + assert_allclose(tbl['sum'], [63.617251, 62.22684693104279]) # Make sure it also works on an ellipse subset. self.imviz._apply_interactive_region('bqplot:ellipse', (0, 0), (9, 4))