mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-15 01:40:21 +08:00
fix tests not being skipped properly
This commit is contained in:
parent
6a84dd6586
commit
a7479726c1
@ -29,7 +29,7 @@ def test_bypass(website: str):
|
||||
website,
|
||||
)
|
||||
if (
|
||||
test_request.status_code == HTTPStatus.OK
|
||||
test_request.status_code != HTTPStatus.OK
|
||||
and "Just a moment..." not in test_request.text
|
||||
):
|
||||
pytest.skip(f"Skipping {website} due to {test_request.status_code}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user