<commit_before>import pytest

import sncosmo


@pytest.mark.might_download
def test_hst_bands():
    """  check that the HST and JWST bands are accessible """
    for bandname in ['f606w', 'uvf606w', 'f125w', 'f127m',
                     'f115w']:  # jwst nircam
        sncosmo.get_bandpass(bandname)


@pytest.mark.might_download
def test_jwst_miri_bands():
    for bandname in ['f1130w']:
        sncosmo.get_bandpass(bandname)


@pytest.mark.might_download
def test_ztf_bandpass():
    bp = sncosmo.get_bandpass('ztfg')


@pytest.mark.might_download
def test_roman_bandpass():
    bp = sncosmo.get_bandpass('f087')<commit_msg>Update tests to cover every Roman WFI filter<commit_after>import pytest

import sncosmo


@pytest.mark.might_download
def test_hst_bands():
    """  check that the HST and JWST bands are accessible """
    for bandname in ['f606w', 'uvf606w', 'f125w', 'f127m',
                     'f115w']:  # jwst nircam
        sncosmo.get_bandpass(bandname)


@pytest.mark.might_download
def test_jwst_miri_bands():
    for bandname in ['f1130w']:
        sncosmo.get_bandpass(bandname)


@pytest.mark.might_download
def test_ztf_bandpass():
    bp = sncosmo.get_bandpass('ztfg')


@pytest.mark.might_download
def test_roman_bandpass():
    sncosmo.get_bandpass('f062')
    sncosmo.get_bandpass('f087')
    sncosmo.get_bandpass('f106')
    sncosmo.get_bandpass('f129')
    sncosmo.get_bandpass('<PASSWORD>')
    sncosmo.get_bandpass('<PASSWORD>')
    sncosmo.get_bandpass('<PASSWORD>')
    sncosmo.get_bandpass('f<PASSWORD>')
{'fraction_non_alphanumeric': 0.12305699481865284, 'fraction_numerical': 0.03432642487046632, 'mean_word_length': 4.049019607843137, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4097912', 'n_tokens_mistral': 638, 'n_tokens_neox': 592, 'n_words': 102}