fix tests not being skipped properly

This commit is contained in:
ThePhaseless 2025-02-20 20:37:02 +00:00
parent 6a84dd6586
commit a7479726c1

View File

@ -29,7 +29,7 @@ def test_bypass(website: str):
website, website,
) )
if ( if (
test_request.status_code == HTTPStatus.OK test_request.status_code != HTTPStatus.OK
and "Just a moment..." not in test_request.text and "Just a moment..." not in test_request.text
): ):
pytest.skip(f"Skipping {website} due to {test_request.status_code}") pytest.skip(f"Skipping {website} due to {test_request.status_code}")