mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-09-24 14:20:08 +01:00
skip if rate limited
This commit is contained in:
@@ -24,4 +24,7 @@ def test_bypass(website: str):
|
||||
url=website, maxTimeout=120 * len(test_websites), cmd="request.get"
|
||||
).model_dump(),
|
||||
)
|
||||
if response.status_code == HTTPStatus.TOO_MANY_REQUESTS:
|
||||
# if rate limited
|
||||
assert True
|
||||
assert response.status_code == HTTPStatus.OK
|
||||
|
||||
Reference in New Issue
Block a user