@@ -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