tests: fix ruff lint errors in security tests

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)