tests: fix ruff lint errors in security tests
Some checks failed
CI / Security Scan (push) Successful in 20s
CI / Lint & Format (push) Failing after 22s
CI / Unit Tests (push) Has been skipped
CI / Security Tests (push) Has been skipped
CI / Advanced Security Tests (push) Has been skipped
CI / Memory Leak Check (push) Has been skipped
CI / SBOM Generation (push) Has been skipped
CI / Build & Push Image (push) Has been skipped

This commit is contained in:
Username
2026-01-18 10:04:27 +01:00
parent 661dab4a81
commit 97bf955820
5 changed files with 19 additions and 21 deletions

View File

@@ -31,7 +31,7 @@ def test_antiflood_memory():
max_entries = app.config.get("ANTIFLOOD_MAX_ENTRIES", 10000)
print(f" Max entries config: {max_entries}")
for i in range(20000):
for _ in range(20000):
record_antiflood_request()
list_size = len(_antiflood_requests)