There was an error while loading. Please reload this page.
1 parent e650aea commit 20e27d1Copy full SHA for 20e27d1
1 file changed
vulnerabilities/tests/test_throttling.py
@@ -52,12 +52,11 @@ def test_packages_endpoint_throttling(self):
52
for i in range(0, 10):
53
response = self.csrf_client_anon.get("/api/packages")
54
self.assertEqual(response.status_code, 200)
55
-
+
56
57
# 429 - too many requests for anon user
58
self.assertEqual(response.status_code, 429)
59
60
61
def test_cpes_endpoint_throttling(self):
62
63
# A basic user can only access /cpes endpoint 4 times a day
0 commit comments