diff --git a/pyproject.toml b/pyproject.toml index 2cbc845..69cfbbf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ docs = [ ] test = [ 'pytest', + 'asdf', ] [project.urls] diff --git a/tests/test_no_resources.py b/tests/test_no_resources.py new file mode 100644 index 0000000..8fda941 --- /dev/null +++ b/tests/test_no_resources.py @@ -0,0 +1,7 @@ +import asdf + + +def test_no_resources(): + resource_manager = asdf.get_config().resource_manager + for uri, mapping in resource_manager._mappings_by_uri.items(): + assert mapping.package_name != "asdf-unit-schemas"