Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsmkn committed Nov 19, 2024
1 parent 6ca9c4c commit 8557030
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/tests/api_tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 8557030

Please sign in to comment.