diff --git a/tests/test_text.py b/tests/test_text.py index 2fbcf83c..11792270 100644 --- a/tests/test_text.py +++ b/tests/test_text.py @@ -1,5 +1,3 @@ -import logging - import pytest from tests.conftest import BaseTest @@ -8,7 +6,7 @@ class TestTextCaptcha(BaseTest): - questions = (("en", "Our planet name?"),) + questions = (("en", "Our planet name?"), ("rn", "Название нашей планеты?")) """ Success tests @@ -47,9 +45,8 @@ async def test_aio_basic(self, lang_code, question): result = await instance.aio_captcha_handler(textcaptcha=question) - logging.warning(f"{result = }") assert isinstance(result, dict) is True - logging.warning(f"{result = }") + if not result["errorId"]: assert result["status"] == "ready" assert isinstance(result["solution"]["text"], str) is True