fixed tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user