Skip to content

Commit 55590d0

Browse files
author
Andrei
committed
Update test_image_to_text.py
1 parent 4782730 commit 55590d0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/tests/test_image_to_text.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ def test_aio_captcha_handler_exist(self):
2626
def test_solve_image(self):
2727
resp = ImageToText(api_key=self.API_KEY).captcha_handler(body=self.image_body)
2828
assert isinstance(resp, CaptchaResponseSer)
29-
assert resp.status == ResponseStatusEnm.Ready
3029
assert resp.status in (ResponseStatusEnm.Ready, ResponseStatusEnm.Processing)
3130
assert resp.errorId in (False, True)
3231
assert resp.errorCode in (None, "ERROR_ZERO_BALANCE")
@@ -36,7 +35,6 @@ def test_solve_image_context(self):
3635
with ImageToText(api_key=self.API_KEY) as instance:
3736
resp = instance.captcha_handler(body=self.image_body)
3837
assert isinstance(resp, CaptchaResponseSer)
39-
assert resp.status == ResponseStatusEnm.Ready
4038
assert resp.status in (ResponseStatusEnm.Ready, ResponseStatusEnm.Processing)
4139
assert resp.errorId in (False, True)
4240
assert resp.errorCode in (None, "ERROR_ZERO_BALANCE")
@@ -45,7 +43,6 @@ def test_solve_image_context(self):
4543
async def test_aio_solve_image(self):
4644
resp = await ImageToText(api_key=self.API_KEY).aio_captcha_handler(body=self.image_body)
4745
assert isinstance(resp, CaptchaResponseSer)
48-
assert resp.status == ResponseStatusEnm.Ready
4946
assert resp.status in (ResponseStatusEnm.Ready, ResponseStatusEnm.Processing)
5047
assert resp.errorId in (False, True)
5148
assert resp.errorCode in (None, "ERROR_ZERO_BALANCE")

0 commit comments

Comments
 (0)