Skip to content

Commit

Permalink
Update test_cutcaptcha.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiDrang committed Dec 13, 2023
1 parent 4130d0f commit a58e472
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_cutcaptcha.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ def test_basic_data(self):

assert isinstance(result, dict) is True
if not result["errorId"]:
assert result["status"] == "ready"
assert isinstance(result["solution"], dict) is True
assert result["status"] in ("ready", "processing")
assert isinstance(result["taskId"], int) is True
else:
assert result["errorId"] in (1, 12)
Expand All @@ -87,8 +86,7 @@ async def test_aio_basic_data(self):

assert isinstance(result, dict) is True
if not result["errorId"]:
assert result["status"] == "ready"
assert isinstance(result["solution"], dict) is True
assert result["status"] in ("ready", "processing")
assert isinstance(result["taskId"], int) is True
else:
assert result["errorId"] in (1, 12)
Expand Down

0 comments on commit a58e472

Please sign in to comment.