diff --git a/tests/test_roman.py b/tests/test_roman.py index 5a9adcb02b..8310bac88b 100644 --- a/tests/test_roman.py +++ b/tests/test_roman.py @@ -485,6 +485,20 @@ def test_roman_bandpass(): for key in nozp_bp: assert nozp_bp[key].zeropoint is None +@timer +def test_roman_nonimaging_bandpass(): + """Test the Roman non-imaging bandpasses for basic sanity. + """ + bp_imaging = galsim.roman.getBandpasses(AB_zeropoint=True) + bp_all = galsim.roman.getBandpasses(AB_zeropoint=True, include_nonimaging=True) + + # Check that the imaging bandpasses arein the all bandpasses + for key in bp_imaging: + assert key in bp_all + + assert 'Grism_0thOrder' in bp_all + assert 'Grism_1stOrder' in bp_all + assert 'SNPrism' in bp_all @timer def test_roman_detectors():