=============================================================================================================================================== test session starts ================================================================================================================================================ platform linux -- Python 3.12.3, pytest-8.3.3, pluggy-1.5.0 -- /home/homea/.pyenv/versions/3.12.3/envs/AntiCaptcha/bin/python cachedir: .pytest_cache rootdir: /home/homea/Documents/Prog/Private/python3-anticaptcha configfile: pyproject.toml plugins: asyncio-0.24.0, mock-3.14.0 asyncio: mode=Mode.AUTO, default_loop_scope=None collecting ... collecting 22 items collected 22 items tests/test_image_to_text.py::TestImageToText::test_sio_success_file PASSED [ 4%] tests/test_image_to_text.py::TestImageToText::test_aio_success_file PASSED [ 9%] tests/test_image_to_text.py::TestImageToText::test_captcha_link[temp-True] PASSED [ 13%] tests/test_image_to_text.py::TestImageToText::test_captcha_link[temp-False] PASSED [ 18%] tests/test_image_to_text.py::TestImageToText::test_captcha_link[const-True] PASSED [ 22%] tests/test_image_to_text.py::TestImageToText::test_captcha_link[const-False] PASSED [ 27%] tests/test_image_to_text.py::TestImageToText::test_aio_captcha_link[temp-True] PASSED [ 31%] tests/test_image_to_text.py::TestImageToText::test_aio_captcha_link[temp-False] PASSED [ 36%] tests/test_image_to_text.py::TestImageToText::test_aio_captcha_link[const-True] PASSED [ 40%] tests/test_image_to_text.py::TestImageToText::test_aio_captcha_link[const-False] PASSED [ 45%] tests/test_image_to_text.py::TestImageToText::test_err_captcha_link PASSED [ 50%] tests/test_image_to_text.py::TestImageToText::test_aio_err_captcha_link PASSED [ 54%] tests/test_image_to_text.py::TestImageToText::test_captcha_base64 PASSED [ 59%] tests/test_image_to_text.py::TestImageToText::test_aio_captcha_base64 PASSED [ 63%] tests/test_image_to_text.py::TestImageToText::test_methods_exists FAILED [ 68%] tests/test_image_to_text.py::TestImageToText::test_args PASSED [ 72%] tests/test_image_to_text.py::TestImageToText::test_del PASSED [ 77%] tests/test_image_to_text.py::TestImageToText::test_aio_del PASSED [ 81%] tests/test_image_to_text.py::TestImageToText::test_kwargs PASSED [ 86%] tests/test_image_to_text.py::TestImageToText::test_aio_kwargs PASSED [ 90%] tests/test_image_to_text.py::TestImageToText::test_err_body_file_processing PASSED [ 95%] tests/test_image_to_text.py::TestImageToText::test_aio_err_body_file_processing PASSED [100%] ===================================================================================================================================================== FAILURES ===================================================================================================================================================== _______________________________________________________________________________________________________________________________________ TestImageToText.test_methods_exists ________________________________________________________________________________________________________________________________________ tests/test_image_to_text.py:165: in test_methods_exists [0m [94massert [39;49;00m [33m" [39;49;00m [33maio_captcha_instrument [39;49;00m [33m" [39;49;00m [95min [39;49;00m ImageToText. [91m__dict__ [39;49;00m.keys() [90m [39;49;00m E AssertionError: assert 'aio_captcha_instrument' in dict_keys(['__module__', '__init__', 'captcha_handler', 'aio_captcha_handler', '__doc__']) E + where dict_keys(['__module__', '__init__', 'captcha_handler', 'aio_captcha_handler', '__doc__']) = () E + where = mappingproxy({'__module__': 'python3_anticaptcha.image_to_text', '__init__': , 'captcha_handler': , 'aio_captcha_handler': , '__doc__': None}).keys E + where mappingproxy({'__module__': 'python3_anticaptcha.image_to_text', '__init__': , 'captcha_handler': , 'aio_captcha_handler': , '__doc__': None}) = ImageToText.__dict__ self = =============================================================================================================================================== slowest 5 durations ================================================================================================================================================ 27.53s call tests/test_image_to_text.py::TestImageToText::test_sio_success_file 6.69s call tests/test_image_to_text.py::TestImageToText::test_aio_success_file 3.00s setup tests/test_image_to_text.py::TestImageToText::test_sio_success_file 1.02s setup tests/test_image_to_text.py::TestImageToText::test_captcha_base64 1.01s setup tests/test_image_to_text.py::TestImageToText::test_aio_del ============================================================================================================================================= short test summary info ============================================================================================================================================== [31mFAILED [0m tests/test_image_to_text.py:: [1mTestImageToText::test_methods_exists [0m - AssertionError: assert 'aio_captcha_instrument' in dict_keys(['__module__', '__init__', 'captcha_handler', 'aio_captcha_handler', '__doc__']) + where dict_keys(['__module__', '__init__', 'captcha_handler', 'aio_captcha_handler', '__doc__']) = () + where = mappingproxy({'__module__': 'python3_anticaptcha.image_to_text', '__init__': , 'captcha_handler': , 'aio_captcha_handler': , '__doc__': None}).keys + where mappingproxy({'__module__': 'python3_anticaptcha.image_to_text', '__init__': , 'captcha_handler': , 'aio_captcha_handler': , '__doc__': None}) = ImageToText.__dict__ =============================================================================================================================== [31m [1m1 failed [0m, [32m21 passed [0m, [33m6 warnings [0m [31m in 63.25s (0:01:03) [0m [31m ================================================================================================================================