update
This commit is contained in:
@@ -120,7 +120,7 @@ def test_concurrent_requests_different_ips(client):
|
||||
tool_call_data = {"tool": "list_repositories", "arguments": {}}
|
||||
|
||||
# Make 5 failed attempts on protected endpoint
|
||||
for i in range(5):
|
||||
for _ in range(5):
|
||||
response = client.post("/mcp/tool/call", headers=headers_invalid, json=tool_call_data)
|
||||
assert response.status_code == 401
|
||||
|
||||
|
||||
Reference in New Issue
Block a user