tests: fix mypy type errors in security tests
Some checks failed
CI / Lint & Format (push) Successful in 22s
CI / Security Scan (push) Successful in 21s
CI / Unit Tests (push) Failing after 17s
CI / Advanced Security Tests (push) Failing after 14s
CI / Memory Leak Check (push) Successful in 20s
CI / Security Tests (push) Successful in 25s
CI / Build & Push Image (push) Has been skipped
CI / SBOM Generation (push) Successful in 20s
Some checks failed
CI / Lint & Format (push) Successful in 22s
CI / Security Scan (push) Successful in 21s
CI / Unit Tests (push) Failing after 17s
CI / Advanced Security Tests (push) Failing after 14s
CI / Memory Leak Check (push) Successful in 20s
CI / Security Tests (push) Successful in 25s
CI / Build & Push Image (push) Has been skipped
CI / SBOM Generation (push) Successful in 20s
This commit is contained in:
@@ -175,7 +175,7 @@ def test_concurrent_memory_pressure():
|
||||
reset_rate_limits()
|
||||
errors = []
|
||||
|
||||
def make_requests(thread_id: int):
|
||||
def make_requests(thread_id: int) -> None:
|
||||
# Each thread needs its own app context
|
||||
with app.app_context():
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user