Fix tests
This commit is contained in:
parent
2442c67c74
commit
86fb4031a2
|
@ -68,7 +68,7 @@ class TestAntiCaptcha(MainAntiCaptcha):
|
|||
anticaptcha_key=self.anticaptcha_key_fail, assignment=self.CUSTOM_TASK
|
||||
)
|
||||
# check response type
|
||||
assert isinstance(customcaptcha, CustomCaptchaTask.CustomCaptchaTask)
|
||||
assert isinstance(customcaptcha, CustomCaptchaTask.aioCustomCaptchaTask)
|
||||
|
||||
response = await customcaptcha.captcha_handler(imageUrl=self.image_url)
|
||||
# check response type
|
||||
|
|
|
@ -71,7 +71,7 @@ class TestAntiCaptcha(MainAntiCaptcha):
|
|||
anticaptcha_key=self.anticaptcha_key_fail
|
||||
)
|
||||
# check response type
|
||||
assert isinstance(imagecaptcha, ImageToTextTask.ImageToTextTask)
|
||||
assert isinstance(imagecaptcha, ImageToTextTask.aioImageToTextTask)
|
||||
|
||||
response = await imagecaptcha.captcha_handler(captcha_link=self.image_url)
|
||||
|
||||
|
|
Loading…
Reference in New Issue