update
This commit is contained in:
@@ -203,7 +203,7 @@ def test_rate_limiting(client):
|
||||
tool_data = {"tool": "list_repositories", "arguments": {}}
|
||||
|
||||
# Make 6 failed attempts on protected endpoint
|
||||
for i in range(6):
|
||||
for _ in range(6):
|
||||
response = client.post(
|
||||
"/mcp/tool/call", headers={"Authorization": "Bearer " + "x" * 64}, json=tool_data
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user