1
mirror of https://github.com/ThePhaseless/Byparr.git synced 2025-03-15 17:50:21 +08:00

skip test if rate limited

This commit is contained in:
Thephaseless 2024-10-19 21:47:16 +00:00
parent 24111f3aa3
commit 0713ce7ca5

@ -28,5 +28,5 @@ def test_bypass(website: str):
)
if response.status_code == HTTPStatus.TOO_MANY_REQUESTS:
# if rate limited
assert True
pytest.skip()
assert response.status_code == HTTPStatus.OK