Disables the system checks for most of our commands, as the image has already run them, so we're good enough without them

This commit is contained in:
Trenton H
2026-03-12 13:38:01 -07:00
parent f15394fa5c
commit 17c628b686
7 changed files with 41 additions and 5 deletions

View File

@@ -12,7 +12,12 @@ class TestApiSchema(APITestCase):
Test that the schema is valid
"""
try:
call_command("spectacular", "--validate", "--fail-on-warn")
call_command(
"spectacular",
"--validate",
"--fail-on-warn",
skip_checks=True,
)
except CommandError as e:
self.fail(f"Schema validation failed: {e}")