Fix tests

This commit is contained in:
Andrei 2019-10-07 00:50:22 +03:00
parent 2442c67c74
commit 86fb4031a2
2 changed files with 2 additions and 2 deletions

View File

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

View File

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