diff --git a/app/tests/api_tests/test_schema.py b/app/tests/api_tests/test_schema.py index 4e9521f76b..6907ae08ac 100644 --- a/app/tests/api_tests/test_schema.py +++ b/app/tests/api_tests/test_schema.py @@ -4,7 +4,9 @@ @pytest.mark.django_db -def test_schema_is_valid(): +def test_schema_is_valid(settings): + settings.ROOT_URLCONF = "config.urls.root" + schema_view = SpectacularAPIView() generator = schema_view.generator_class(