def test_filtered_instrument_keywords(): """Test to see that the instrument specific service keywords are different for all instruments""" kw = [] for ins in JWST_INSTRUMENT_NAMES: kw.append(mm.instrument_keywords(ins, caom=False)['keyword'].tolist()) assert kw[0] != kw[1] != kw[2] != kw[3] != kw[4]
def test_caom_instrument_keywords(): """Test to see that the CAOM keywords are the same for all instruments""" kw = [] for ins in JWST_INSTRUMENT_NAMES: kw.append(mm.instrument_keywords(ins, caom=True)['keyword'].tolist()) assert kw[0] == kw[1] == kw[2] == kw[3] == kw[4]