mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-03-19 23:45:57 +00:00
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:
@@ -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}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user