Skip to content
Snippets Groups Projects
Verified Commit 8eedba22 authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Remove duplicate test

parent 02eb878f
No related branches found
No related tags found
1 merge request!1902Vore Ponos server-side code
from django.core.management import call_command
from django.test import TestCase
class TestSchema(TestCase):
def test_generate_schema(self):
"""
Runs the OpenAPI schema generation command, causing this test to fail if something goes wrong with the schema validation.
"""
call_command(
"spectacular",
format="openapi-json",
fail_on_warn=True,
validate=True,
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment