From 0713ce7ca5cf388c0ddc7ca9598ce96a675a81b7 Mon Sep 17 00:00:00 2001 From: Thephaseless Date: Sat, 19 Oct 2024 21:47:16 +0000 Subject: [PATCH] skip test if rate limited --- tests/main_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/main_test.py b/tests/main_test.py index 19779c8..510223b 100644 --- a/tests/main_test.py +++ b/tests/main_test.py @@ -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