# Path: sncosmo/bandpasses.py
# _BANDPASSES = Registry()
# 
# _BANDPASS_INTERPOLATORS = Registry()
# 
# Path: sncosmo/magsystems.py
# _MAGSYSTEMS = Registry()
# 
# Path: sncosmo/models.py
# _SOURCES = Registry()


import pytest
import sncosmo
from sncosmo.bandpasses import _BANDPASSES, _BANDPASS_INTERPOLATORS
from sncosmo.magsystems import _MAGSYSTEMS
from sncosmo.models import _SOURCES



"""Test downloading all of the builtins

These tests download lots of files (~1.2 GB as of Oct. 12, 2021) so they
aren't included by default with the regular tests. They can be run with
`tox -e builtins`. This will make sure that the downloads happen in a clean
environment without any caching.
"""


bandpasses = [i['name'] for i in _BANDPASSES.get_loaders_metadata()]
bandpass_interpolators = [i['name'] for i in
                          _BANDPASS_INTERPOLATORS.get_loaders_metadata()]

# Path: sncosmo/bandpasses.py
# _BANDPASSES = Registry()
# 
# _BANDPASS_INTERPOLATORS = Registry()
# 
# Path: sncosmo/magsystems.py
# _MAGSYSTEMS = Registry()
# 
# Path: sncosmo/models.py
# _SOURCES = Registry()


# Path: sncosmo/tests/test_download_builtins.py
import pytest
import sncosmo
from sncosmo.bandpasses import _BANDPASSES, _BANDPASS_INTERPOLATORS
from sncosmo.magsystems import _MAGSYSTEMS
from sncosmo.models import _SOURCES




"""Test downloading all of the builtins

These tests download lots of files (~1.2 GB as of Oct. 12, 2021) so they
aren't included by default with the regular tests. They can be run with
`tox -e builtins`. This will make sure that the downloads happen in a clean
environment without any caching.
"""


bandpasses = [i['name'] for i in _BANDPASSES.get_loaders_metadata()]
bandpass_interpolators = [i['name'] for i in
                          _BANDPASS_INTERPOLATORS.get_loaders_metadata()]

magsystems = [i['name'] for i in _MAGSYSTEMS.get_loaders_metadata()]