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
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user