fixed tests

This commit is contained in:
2026-05-15 20:41:05 +02:00
parent 96ce516ecf
commit 77df5d5d65
50 changed files with 1482 additions and 5089 deletions

View File

@@ -99,6 +99,9 @@ def test_security_headers_on_all_response_types() -> None:
)
app = create_app(settings=settings)
from app.models.server import ServerStatus
app.state.server_status = ServerStatus(online=True)
client = TestClient(app)
# Test on successful response