From cd4b41f2fad184dd1b89d98984b76faf7b754a98 Mon Sep 17 00:00:00 2001 From: Clare Shanahan Date: Fri, 6 Dec 2024 10:31:46 -0500 Subject: [PATCH] cs --- .../default/plugins/subset_tools/tests/test_subset_tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jdaviz/configs/default/plugins/subset_tools/tests/test_subset_tools.py b/jdaviz/configs/default/plugins/subset_tools/tests/test_subset_tools.py index 2672767a4c..0dd41095e1 100644 --- a/jdaviz/configs/default/plugins/subset_tools/tests/test_subset_tools.py +++ b/jdaviz/configs/default/plugins/subset_tools/tests/test_subset_tools.py @@ -244,7 +244,8 @@ def test_get_subsets_as_regions(cubeviz_helper, spectrum1d_cube): # call get_subsets_as_regions, which by default for cubeviz will return both # spatial and spectral regoins all_regions = plg.get_subsets_as_regions() - # assert len(all_regions) == 2 + assert len(all_regions) == 2 + # now specify region type spatial_regions = plg.get_subsets_as_regions(region_type='spatial')