mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-15 09:50:20 +08:00
skip if rate limited
This commit is contained in:
parent
9e1faedb1a
commit
7df0bb55db
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user