forked from claw/flaskpaste
style: format test files
This commit is contained in:
@@ -513,12 +513,12 @@ class TestConcurrentSubmissions:
|
||||
|
||||
# First max_allowed should succeed
|
||||
for i in range(max_allowed):
|
||||
assert results[i][0] is True, f"Check {i+1} should be allowed"
|
||||
assert results[i][1] == i + 1, f"Check {i+1} should have count {i+1}"
|
||||
assert results[i][0] is True, f"Check {i + 1} should be allowed"
|
||||
assert results[i][1] == i + 1, f"Check {i + 1} should have count {i + 1}"
|
||||
|
||||
# Rest should be denied
|
||||
for i in range(max_allowed, len(results)):
|
||||
assert results[i][0] is False, f"Check {i+1} should be denied"
|
||||
assert results[i][0] is False, f"Check {i + 1} should be denied"
|
||||
assert results[i][1] == max_allowed, f"Count should stay at {max_allowed}"
|
||||
|
||||
# Verify final database state
|
||||
|
||||
Reference in New Issue
Block a user