| ============================= test session starts ==============================
|
| platform linux -- Python 3.11.11, pytest-8.3.4, pluggy-1.5.0 -- /opt/hostedtoolcache/Python/3.11.11/x64/bin/python
|
| cachedir: .pytest_cache
|
| rootdir: /home/runner/work/python-rucaptcha/python-rucaptcha
|
| configfile: pyproject.toml
|
| plugins: asyncio-0.25.2
|
| asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None
|
| collecting ... collected 343 items
|
|
|
| tests/test_amazon.py::TestAmazonCaptcha::test_methods_exists PASSED [ 0%]
|
| tests/test_amazon.py::TestAmazonCaptcha::test_args[AmazonTask] PASSED [ 0%]
|
| tests/test_amazon.py::TestAmazonCaptcha::test_args[AmazonTaskProxyless] PASSED [ 0%]
|
| tests/test_amazon.py::TestAmazonCaptcha::test_basic_data PASSED [ 1%]
|
| tests/test_amazon.py::TestAmazonCaptcha::test_context_basic_data PASSED [ 1%]
|
| tests/test_amazon.py::TestAmazonCaptcha::test_aio_basic_data PASSED [ 1%]
|
| tests/test_amazon.py::TestAmazonCaptcha::test_aio_context_basic_data PASSED [ 2%]
|
| tests/test_amazon.py::TestAmazonCaptcha::test_wrong_method PASSED [ 2%]
|
| tests/test_audio.py::TestAudioCaptcha::test_methods_exists PASSED [ 2%]
|
| tests/test_audio.py::TestAudioCaptcha::test_args PASSED [ 2%]
|
| tests/test_audio.py::TestAudioCaptcha::test_basic_data_file[temp] PASSED [ 3%]
|
| tests/test_audio.py::TestAudioCaptcha::test_basic_data_file[const] PASSED [ 3%]
|
| tests/test_audio.py::TestAudioCaptcha::test_basic_data_link[temp] PASSED [ 3%]
|
| tests/test_audio.py::TestAudioCaptcha::test_basic_data_link[const] PASSED [ 4%]
|
| tests/test_audio.py::TestAudioCaptcha::test_basic_data_base64[temp] PASSED [ 4%]
|
| tests/test_audio.py::TestAudioCaptcha::test_basic_data_base64[const] PASSED [ 4%]
|
| tests/test_audio.py::TestAudioCaptcha::test_aio_basic_data_file[temp] PASSED [ 4%]
|
| tests/test_audio.py::TestAudioCaptcha::test_aio_basic_data_file[const] PASSED [ 5%]
|
| tests/test_audio.py::TestAudioCaptcha::test_aio_basic_data_link[temp] PASSED [ 5%]
|
| tests/test_audio.py::TestAudioCaptcha::test_aio_basic_data_link[const] PASSED [ 5%]
|
| tests/test_audio.py::TestAudioCaptcha::test_aio_basic_data_base64[temp] PASSED [ 6%]
|
| tests/test_audio.py::TestAudioCaptcha::test_aio_basic_data_base64[const] PASSED [ 6%]
|
| tests/test_audio.py::TestAudioCaptcha::test_no_captcha PASSED [ 6%]
|
| tests/test_audio.py::TestAudioCaptcha::test_aio_no_captcha PASSED [ 6%]
|
| tests/test_audio.py::TestAudioCaptcha::test_wrong_link PASSED [ 7%]
|
| tests/test_audio.py::TestAudioCaptcha::test_wrong_path PASSED [ 7%]
|
| tests/test_audio.py::TestAudioCaptcha::test_wrong_base64 PASSED [ 7%]
|
| tests/test_audio.py::TestAudioCaptcha::test_aio_wrong_link PASSED [ 8%]
|
| tests/test_audio.py::TestAudioCaptcha::test_aio_wrong_path PASSED [ 8%]
|
| tests/test_audio.py::TestAudioCaptcha::test_aio_wrong_base64 PASSED [ 8%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_methods_exists PASSED [ 9%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_args[temp-True] PASSED [ 9%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_args[temp-False] PASSED [ 9%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_args[const-True] PASSED [ 9%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_args[const-False] PASSED [ 10%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_kwargs PASSED [ 10%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_basic_file[temp] PASSED [ 10%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_basic_file[const] PASSED [ 11%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_basic_base64[temp] PASSED [ 11%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_basic_base64[const] PASSED [ 11%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_aio_basic_file[temp] PASSED [ 11%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_aio_basic_file[const] PASSED [ 12%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_aio_basic_base64[temp] PASSED [ 12%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_aio_basic_base64[const] PASSED [ 12%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_no_captcha PASSED [ 13%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_aio_no_captcha PASSED [ 13%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_wrong_link PASSED [ 13%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_wrong_base64 PASSED [ 13%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_aio_wrong_link PASSED [ 14%]
|
| tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_aio_wrong_base64 PASSED [ 14%]
|
| tests/test_capypuzzle.py::TestCapyPuzzle::test_methods_exists PASSED [ 14%]
|
| tests/test_capypuzzle.py::TestCapyPuzzle::test_args[CapyTask] PASSED [ 15%]
|
| tests/test_capypuzzle.py::TestCapyPuzzle::test_args[CapyTaskProxyless] PASSED [ 15%]
|
| tests/test_capypuzzle.py::TestCapyPuzzle::test_basic_data PASSED [ 15%]
|
| tests/test_capypuzzle.py::TestCapyPuzzle::test_aio_basic_data PASSED [ 16%]
|
| tests/test_capypuzzle.py::TestCapyPuzzle::test_context_basic_data PASSED [ 16%]
|
| tests/test_capypuzzle.py::TestCapyPuzzle::test_context_aio_basic_data PASSED [ 16%]
|
| tests/test_capypuzzle.py::TestCapyPuzzle::test_wrong_method PASSED [ 16%]
|
| tests/test_control.py::TestControl::test_methods_exists PASSED [ 17%]
|
| tests/test_control.py::TestControl::test_get_balance PASSED [ 17%]
|
| tests/test_control.py::TestControl::test_context_get_balance PASSED [ 17%]
|
| tests/test_control.py::TestControl::test_aio_get_balance PASSED [ 18%]
|
| tests/test_control.py::TestControl::test_aio_context_get_balance PASSED [ 18%]
|
| tests/test_control.py::TestControl::test_report_bad PASSED [ 18%]
|
| tests/test_control.py::TestControl::test_context_report_bad PASSED [ 18%]
|
| tests/test_control.py::TestControl::test_aio_report_bad PASSED [ 19%]
|
| tests/test_control.py::TestControl::test_aio_context_report_bad PASSED [ 19%]
|
| tests/test_control.py::TestControl::test_report_good PASSED [ 19%]
|
| tests/test_control.py::TestControl::test_context_report_good PASSED [ 20%]
|
| tests/test_control.py::TestControl::test_aio_report_good PASSED [ 20%]
|
| tests/test_control.py::TestControl::test_aio_context_report_good PASSED [ 20%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_methods_exists PASSED [ 20%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_args[temp-True] PASSED [ 21%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_args[temp-False] PASSED [ 21%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_args[const-True] PASSED [ 21%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_args[const-False] PASSED [ 22%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_kwargs PASSED [ 22%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_basic_file[temp] PASSED [ 22%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_basic_file[const] PASSED [ 23%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_basic_base64[temp] PASSED [ 23%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_basic_base64[const] PASSED [ 23%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_aio_basic_file[temp] PASSED [ 23%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_aio_basic_file[const] PASSED [ 24%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_aio_basic_base64[temp] PASSED [ 24%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_aio_basic_base64[const] PASSED [ 24%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_no_captcha PASSED [ 25%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_aio_no_captcha PASSED [ 25%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_wrong_link PASSED [ 25%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_wrong_base64 PASSED [ 25%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_aio_wrong_link PASSED [ 26%]
|
| tests/test_coordinates.py::TestCoordinatesCaptcha::test_aio_wrong_base64 PASSED [ 26%]
|
| tests/test_core.py::TestMain::test_reties PASSED [ 26%]
|
| tests/test_core.py::TestMain::test_async_reties PASSED [ 27%]
|
| tests/test_core.py::TestMain::test_context_class_create PASSED [ 27%]
|
| tests/test_core.py::TestMain::test_class_create PASSED [ 27%]
|
| tests/test_core.py::TestMain::test_aio_context_class_create PASSED [ 27%]
|
| tests/test_core.py::TestMain::test_custom_service PASSED [ 28%]
|
| tests/test_core.py::TestMain::test_context_custom_service PASSED [ 28%]
|
| tests/test_core.py::TestMain::test_context_custom_service_api_key[31] PASSED [ 28%]
|
| tests/test_core.py::TestMain::test_context_custom_service_api_key[33] PASSED [ 29%]
|
| tests/test_core.py::TestMain::test_custom_service_api_key[31] PASSED [ 29%]
|
| tests/test_core.py::TestMain::test_custom_service_api_key[33] PASSED [ 29%]
|
| tests/test_core.py::TestMain::test_aio_context_custom_service_api_key[31] PASSED [ 30%]
|
| tests/test_core.py::TestMain::test_aio_context_custom_service_api_key[33] PASSED [ 30%]
|
| tests/test_core.py::TestMain::test_context_err PASSED [ 30%]
|
| tests/test_core.py::TestMain::test_aio_context_err PASSED [ 30%]
|
| tests/test_core.py::TestEnum::test_enum_list PASSED [ 31%]
|
| tests/test_core.py::TestEnum::test_enum_list_values PASSED [ 31%]
|
| tests/test_core.py::TestEnum::test_enum_list_names PASSED [ 31%]
|
| tests/test_core.py::TestConfig::test_attempts_generator PASSED [ 32%]
|
| tests/test_core.py::TestDeathbycaptcha::test_attempts_generator PASSED [ 32%]
|
| tests/test_cutcaptcha.py::TestCutCaptcha::test_methods_exists PASSED [ 32%]
|
| tests/test_cutcaptcha.py::TestCutCaptcha::test_args[CutCaptchaTask] PASSED [ 32%]
|
| tests/test_cutcaptcha.py::TestCutCaptcha::test_args[CutCaptchaTaskProxyless] PASSED [ 33%]
|
| tests/test_cutcaptcha.py::TestCutCaptcha::test_kwargs PASSED [ 33%]
|
| tests/test_cutcaptcha.py::TestCutCaptcha::test_basic_data PASSED [ 33%]
|
| tests/test_cutcaptcha.py::TestCutCaptcha::test_aio_basic_data PASSED [ 34%]
|
| tests/test_cutcaptcha.py::TestCutCaptcha::test_context_basic_data PASSED [ 34%]
|
| tests/test_cutcaptcha.py::TestCutCaptcha::test_context_aio_basic_data PASSED [ 34%]
|
| tests/test_cutcaptcha.py::TestCutCaptcha::test_wrong_method PASSED [ 34%]
|
| tests/test_cutcaptcha.py::TestCutCaptcha::test_no_websiteURL PASSED [ 35%]
|
| tests/test_cutcaptcha.py::TestCutCaptcha::test_no_miseryKey PASSED [ 35%]
|
| tests/test_cutcaptcha.py::TestCutCaptcha::test_no_apiKey PASSED [ 35%]
|
| tests/test_cybersiara.py::TestHCaptcha::test_methods_exists PASSED [ 36%]
|
| tests/test_cybersiara.py::TestHCaptcha::test_args[AntiCyberSiAraTask] PASSED [ 36%]
|
| tests/test_cybersiara.py::TestHCaptcha::test_args[AntiCyberSiAraTaskProxyless] PASSED [ 36%]
|
| tests/test_cybersiara.py::TestHCaptcha::test_kwargs PASSED [ 37%]
|
| tests/test_cybersiara.py::TestHCaptcha::test_no_websiteURL PASSED [ 37%]
|
| tests/test_cybersiara.py::TestHCaptcha::test_no_SlideMasterUrlId PASSED [ 37%]
|
| tests/test_cybersiara.py::TestHCaptcha::test_no_userAgent PASSED [ 37%]
|
| tests/test_cybersiara.py::TestHCaptcha::test_wrong_method PASSED [ 38%]
|
| tests/test_datadome.py::TestDatadome::test_methods_exists PASSED [ 38%]
|
| tests/test_datadome.py::TestDatadome::test_args PASSED [ 38%]
|
| tests/test_datadome.py::TestDatadome::test_kwargs PASSED [ 39%]
|
| tests/test_datadome.py::TestDatadome::test_no_websiteURL PASSED [ 39%]
|
| tests/test_datadome.py::TestDatadome::test_no_captchaUrl PASSED [ 39%]
|
| tests/test_datadome.py::TestDatadome::test_no_userAgent PASSED [ 39%]
|
| tests/test_datadome.py::TestDatadome::test_no_proxyType PASSED [ 40%]
|
| tests/test_datadome.py::TestDatadome::test_no_proxyAddress PASSED [ 40%]
|
| tests/test_datadome.py::TestDatadome::test_no_proxyPort PASSED [ 40%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_methods_exists PASSED [ 41%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_args[temp-True] PASSED [ 41%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_args[temp-False] PASSED [ 41%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_args[const-True] PASSED [ 41%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_args[const-False] PASSED [ 42%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_kwargs PASSED [ 42%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_basic_file[temp] PASSED [ 42%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_basic_file[const] PASSED [ 43%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_basic_base64[temp] PASSED [ 43%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_basic_base64[const] PASSED [ 43%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_aio_basic_file[temp] PASSED [ 44%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_aio_basic_file[const] PASSED [ 44%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_aio_basic_base64[temp] PASSED [ 44%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_aio_basic_base64[const] PASSED [ 44%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_no_captcha PASSED [ 45%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_aio_no_captcha PASSED [ 45%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_wrong_link PASSED [ 45%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_wrong_base64 PASSED [ 46%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_aio_wrong_link PASSED [ 46%]
|
| tests/test_draw_around.py::TestDrawAroundCaptcha::test_aio_wrong_base64 PASSED [ 46%]
|
| tests/test_friendly_captcha.py::TestFriendlyCaptcha::test_methods_exists PASSED [ 46%]
|
| tests/test_friendly_captcha.py::TestFriendlyCaptcha::test_args[FriendlyCaptchaTaskProxyless] PASSED [ 47%]
|
| tests/test_friendly_captcha.py::TestFriendlyCaptcha::test_args[FriendlyCaptchaTask] PASSED [ 47%]
|
| tests/test_friendly_captcha.py::TestFriendlyCaptcha::test_kwargs PASSED [ 47%]
|
| tests/test_friendly_captcha.py::TestFriendlyCaptcha::test_basic_data PASSED [ 48%]
|
| tests/test_friendly_captcha.py::TestFriendlyCaptcha::test_aio_basic_data PASSED [ 48%]
|
| tests/test_friendly_captcha.py::TestFriendlyCaptcha::test_context_basic_data PASSED [ 48%]
|
| tests/test_friendly_captcha.py::TestFriendlyCaptcha::test_context_aio_basic_data PASSED [ 48%]
|
| tests/test_friendly_captcha.py::TestFriendlyCaptcha::test_wrong_method PASSED [ 49%]
|
| tests/test_friendly_captcha.py::TestFriendlyCaptcha::test_no_websiteURL PASSED [ 49%]
|
| tests/test_friendly_captcha.py::TestFriendlyCaptcha::test_no_websiteKey PASSED [ 49%]
|
| tests/test_funcaptcha.py::TestFunCaptcha::test_methods_exists PASSED [ 50%]
|
| tests/test_funcaptcha.py::TestFunCaptcha::test_args[FunCaptchaTaskProxyless] PASSED [ 50%]
|
| tests/test_funcaptcha.py::TestFunCaptcha::test_args[FunCaptchaTask] PASSED [ 50%]
|
| tests/test_funcaptcha.py::TestFunCaptcha::test_kwargs PASSED [ 51%]
|
| tests/test_funcaptcha.py::TestFunCaptcha::test_basic_data PASSED [ 51%]
|
| tests/test_funcaptcha.py::TestFunCaptcha::test_aio_basic_data FAILED [ 51%]
|
| tests/test_funcaptcha.py::TestFunCaptcha::test_context_basic_data PASSED [ 51%]
|
| tests/test_funcaptcha.py::TestFunCaptcha::test_context_aio_basic_data PASSED [ 52%]
|
| tests/test_funcaptcha.py::TestFunCaptcha::test_wrong_method PASSED [ 52%]
|
| tests/test_geetest.py::TestGeeTestCore::test_methods_exists PASSED [ 52%]
|
| tests/test_geetest.py::TestGeeTestCore::test_args[GeeTestTask] PASSED [ 53%]
|
| tests/test_geetest.py::TestGeeTestCore::test_args[GeeTestTaskProxyless] PASSED [ 53%]
|
| tests/test_geetest.py::TestGeeTestCore::test_kwargs PASSED [ 53%]
|
| tests/test_geetest.py::TestGeeTestCore::test_arg_initParameters PASSED [ 53%]
|
| tests/test_geetest.py::TestGeeTest::test_basic_data PASSED [ 54%]
|
| tests/test_geetest.py::TestGeeTest::test_aio_basic_data PASSED [ 54%]
|
| tests/test_geetest.py::TestGeeTest::test_context_basic_data PASSED [ 54%]
|
| tests/test_geetest.py::TestGeeTest::test_context_aio_basic_data PASSED [ 55%]
|
| tests/test_geetest.py::TestGeeTest::test_wrong_method PASSED [ 55%]
|
| tests/test_geetest.py::TestGeeTest::test_wrong_method_arg PASSED [ 55%]
|
| tests/test_geetest.py::TestGeeTest::test_empty_challenge PASSED [ 55%]
|
| tests/test_geetest.py::TestGeeTest::test_aio_empty_challenge PASSED [ 56%]
|
| tests/test_geetest.py::TestGeeTestV4::test_basic_data PASSED [ 56%]
|
| tests/test_geetest.py::TestGeeTestV4::test_aio_basic_data PASSED [ 56%]
|
| tests/test_geetest.py::TestGeeTestV4::test_context_basic_data PASSED [ 57%]
|
| tests/test_geetest.py::TestGeeTestV4::test_context_aio_basic_data PASSED [ 57%]
|
| tests/test_geetest.py::TestGeeTestV4::test_wrong_method PASSED [ 57%]
|
| tests/test_geetest.py::TestGeeTestV4::test_wrong_method_arg PASSED [ 58%]
|
| tests/test_grid.py::TestGridCaptcha::test_methods_exists PASSED [ 58%]
|
| tests/test_grid.py::TestGridCaptcha::test_args[temp-True] PASSED [ 58%]
|
| tests/test_grid.py::TestGridCaptcha::test_args[temp-False] PASSED [ 58%]
|
| tests/test_grid.py::TestGridCaptcha::test_args[const-True] PASSED [ 59%]
|
| tests/test_grid.py::TestGridCaptcha::test_args[const-False] PASSED [ 59%]
|
| tests/test_grid.py::TestGridCaptcha::test_kwargs PASSED [ 59%]
|
| tests/test_grid.py::TestGridCaptcha::test_basic_file[temp] PASSED [ 60%]
|
| tests/test_grid.py::TestGridCaptcha::test_basic_file[const] PASSED [ 60%]
|
| tests/test_grid.py::TestGridCaptcha::test_basic_base64[temp] PASSED [ 60%]
|
| tests/test_grid.py::TestGridCaptcha::test_basic_base64[const] PASSED [ 60%]
|
| tests/test_grid.py::TestGridCaptcha::test_aio_basic_file[temp] PASSED [ 61%]
|
| tests/test_grid.py::TestGridCaptcha::test_aio_basic_file[const] PASSED [ 61%]
|
| tests/test_grid.py::TestGridCaptcha::test_aio_basic_base64[temp] PASSED [ 61%]
|
| tests/test_grid.py::TestGridCaptcha::test_aio_basic_base64[const] PASSED [ 62%]
|
| tests/test_grid.py::TestGridCaptcha::test_no_captcha PASSED [ 62%]
|
| tests/test_grid.py::TestGridCaptcha::test_aio_no_captcha PASSED [ 62%]
|
| tests/test_grid.py::TestGridCaptcha::test_wrong_link PASSED [ 62%]
|
| tests/test_grid.py::TestGridCaptcha::test_wrong_base64 PASSED [ 63%]
|
| tests/test_grid.py::TestGridCaptcha::test_aio_wrong_link PASSED [ 63%]
|
| tests/test_grid.py::TestGridCaptcha::test_aio_wrong_base64 PASSED [ 63%]
|
| tests/test_hcaptcha.py::TestHCaptcha::test_methods_exists PASSED [ 64%]
|
| tests/test_hcaptcha.py::TestHCaptcha::test_args[HCaptchaTask] PASSED [ 64%]
|
| tests/test_hcaptcha.py::TestHCaptcha::test_args[HCaptchaTaskProxyless] PASSED [ 64%]
|
| tests/test_hcaptcha.py::TestHCaptcha::test_kwargs PASSED [ 65%]
|
| tests/test_hcaptcha.py::TestHCaptcha::test_basic_data PASSED [ 65%]
|
| tests/test_hcaptcha.py::TestHCaptcha::test_aio_basic_data PASSED [ 65%]
|
| tests/test_hcaptcha.py::TestHCaptcha::test_context_basic_data PASSED [ 65%]
|
| tests/test_hcaptcha.py::TestHCaptcha::test_context_aio_basic_data PASSED [ 66%]
|
| tests/test_hcaptcha.py::TestHCaptcha::test_wrong_method PASSED [ 66%]
|
| tests/test_image.py::TestImageCaptcha::test_methods_exists PASSED [ 66%]
|
| tests/test_image.py::TestImageCaptcha::test_args PASSED [ 67%]
|
| tests/test_image.py::TestImageCaptcha::test_kwargs PASSED [ 67%]
|
| tests/test_image.py::TestImageCaptcha::test_basic_link[temp] FAILED [ 67%]
|
| tests/test_image.py::TestImageCaptcha::test_basic_link[const] FAILED [ 67%]
|
| tests/test_image.py::TestImageCaptcha::test_basic_file[temp] PASSED [ 68%]
|
| tests/test_image.py::TestImageCaptcha::test_basic_file[const] PASSED [ 68%]
|
| tests/test_image.py::TestImageCaptcha::test_basic_base64[temp] PASSED [ 68%]
|
| tests/test_image.py::TestImageCaptcha::test_basic_base64[const] PASSED [ 69%]
|
| tests/test_image.py::TestImageCaptcha::test_aio_basic_link[temp] FAILED [ 69%]
|
| tests/test_image.py::TestImageCaptcha::test_aio_basic_link[const] FAILED [ 69%]
|
| tests/test_image.py::TestImageCaptcha::test_aio_basic_file[temp] PASSED [ 69%]
|
| tests/test_image.py::TestImageCaptcha::test_aio_basic_file[const] PASSED [ 70%]
|
| tests/test_image.py::TestImageCaptcha::test_aio_basic_base64[temp] PASSED [ 70%]
|
| tests/test_image.py::TestImageCaptcha::test_aio_basic_base64[const] PASSED [ 70%]
|
| tests/test_image.py::TestImageCaptcha::test_no_captcha PASSED [ 71%]
|
| tests/test_image.py::TestImageCaptcha::test_aio_no_captcha PASSED [ 71%]
|
| tests/test_image.py::TestImageCaptcha::test_wrong_link PASSED [ 71%]
|
| tests/test_image.py::TestImageCaptcha::test_wrong_base64 PASSED [ 72%]
|
| tests/test_image.py::TestImageCaptcha::test_aio_wrong_link PASSED [ 72%]
|
| tests/test_image.py::TestImageCaptcha::test_aio_wrong_base64 PASSED [ 72%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_methods_exists PASSED [ 72%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_args[KeyCaptchaTask] PASSED [ 73%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_args[KeyCaptchaTaskProxyless] PASSED [ 73%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_kwargs PASSED [ 73%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_basic_data PASSED [ 74%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_aio_basic_data PASSED [ 74%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_context_basic_data PASSED [ 74%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_context_aio_basic_data PASSED [ 74%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_wrong_method PASSED [ 75%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_no_websiteURL[KeyCaptchaTask] PASSED [ 75%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_no_websiteURL[KeyCaptchaTaskProxyless] PASSED [ 75%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_no_s_s_c_user_id[KeyCaptchaTask] PASSED [ 76%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_no_s_s_c_user_id[KeyCaptchaTaskProxyless] PASSED [ 76%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_no_s_s_c_web_server_sign[KeyCaptchaTask] PASSED [ 76%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_no_s_s_c_web_server_sign[KeyCaptchaTaskProxyless] PASSED [ 76%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_no_s_s_c_web_server_sign2[KeyCaptchaTask] PASSED [ 77%]
|
| tests/test_key_captcha.py::TestKeyCaptcha::test_no_s_s_c_web_server_sign2[KeyCaptchaTaskProxyless] PASSED [ 77%]
|
| tests/test_lemin.py::TestLeminCroppedCaptcha::test_methods_exists PASSED [ 77%]
|
| tests/test_lemin.py::TestLeminCroppedCaptcha::test_args[LeminTaskProxyless] PASSED [ 78%]
|
| tests/test_lemin.py::TestLeminCroppedCaptcha::test_args[LeminTask] PASSED [ 78%]
|
| tests/test_lemin.py::TestLeminCroppedCaptcha::test_kwargs PASSED [ 78%]
|
| tests/test_lemin.py::TestLeminCroppedCaptcha::test_basic_data PASSED [ 79%]
|
| tests/test_lemin.py::TestLeminCroppedCaptcha::test_aio_basic_data PASSED [ 79%]
|
| tests/test_lemin.py::TestLeminCroppedCaptcha::test_context_basic_data PASSED [ 79%]
|
| tests/test_lemin.py::TestLeminCroppedCaptcha::test_context_aio_basic_data PASSED [ 79%]
|
| tests/test_lemin.py::TestLeminCroppedCaptcha::test_wrong_method PASSED [ 80%]
|
| tests/test_lemin.py::TestLeminCroppedCaptcha::test_no_websiteURL PASSED [ 80%]
|
| tests/test_lemin.py::TestLeminCroppedCaptcha::test_no_div_id PASSED [ 80%]
|
| tests/test_lemin.py::TestLeminCroppedCaptcha::test_no_captchaId PASSED [ 81%]
|
| tests/test_mtcaptcha.py::TestMTCaptcha::test_methods_exists PASSED [ 81%]
|
| tests/test_mtcaptcha.py::TestMTCaptcha::test_args[MtCaptchaTask] PASSED [ 81%]
|
| tests/test_mtcaptcha.py::TestMTCaptcha::test_args[MtCaptchaTaskProxyless] PASSED [ 81%]
|
| tests/test_mtcaptcha.py::TestMTCaptcha::test_kwargs PASSED [ 82%]
|
| tests/test_mtcaptcha.py::TestMTCaptcha::test_no_websiteURL PASSED [ 82%]
|
| tests/test_mtcaptcha.py::TestMTCaptcha::test_no_websiteKey PASSED [ 82%]
|
| tests/test_mtcaptcha.py::TestMTCaptcha::test_wrong_method PASSED [ 83%]
|
| tests/test_recaptcha.py::TestReCaptcha::test_args[RecaptchaV2TaskProxyless] PASSED [ 83%]
|
| tests/test_recaptcha.py::TestReCaptcha::test_args[RecaptchaV2Task] PASSED [ 83%]
|
| tests/test_recaptcha.py::TestReCaptcha::test_args[RecaptchaV2EnterpriseTaskProxyless] PASSED [ 83%]
|
| tests/test_recaptcha.py::TestReCaptcha::test_args[RecaptchaV2EnterpriseTask] PASSED [ 84%]
|
| tests/test_recaptcha.py::TestReCaptcha::test_args[RecaptchaV3TaskProxyless] PASSED [ 84%]
|
| tests/test_recaptcha.py::TestReCaptcha::test_kwargs PASSED [ 84%]
|
| tests/test_recaptcha.py::TestReCaptcha::test_methods_exists PASSED [ 85%]
|
| tests/test_recaptcha.py::TestReCaptcha::test_basic_data PASSED [ 85%]
|
| tests/test_recaptcha.py::TestReCaptcha::test_aio_basic_data PASSED [ 85%]
|
| tests/test_recaptcha.py::TestReCaptcha::test_context_basic_data PASSED [ 86%]
|
| tests/test_recaptcha.py::TestReCaptcha::test_context_aio_basic_data PASSED [ 86%]
|
| tests/test_recaptcha.py::TestReCaptcha::test_wrong_method PASSED [ 86%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_methods_exists PASSED [ 86%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_args PASSED [ 87%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_kwargs PASSED [ 87%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_basic_data_link FAILED [ 87%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_basic_data_file PASSED [ 88%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_basic_data_base64 PASSED [ 88%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_aio_basic_data_link FAILED [ 88%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_aio_basic_data_file PASSED [ 88%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_aio_basic_data_base64 PASSED [ 89%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_const_data_link[True-temp] FAILED [ 89%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_const_data_link[True-const] FAILED [ 89%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_const_data_link[False-temp] FAILED [ 90%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_const_data_link[False-const] FAILED [ 90%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_no_captcha PASSED [ 90%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_aio_no_captcha PASSED [ 90%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_wrong_link PASSED [ 91%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_aio_wrong_link PASSED [ 91%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_wrong_base64 PASSED [ 91%]
|
| tests/test_rotate.py::TestRotateCaptcha::test_aio_wrong_base64 PASSED [ 92%]
|
| tests/test_tencent.py::TestTencent::test_methods_exists PASSED [ 92%]
|
| tests/test_tencent.py::TestTencent::test_args[TencentTask] PASSED [ 92%]
|
| tests/test_tencent.py::TestTencent::test_args[TencentTaskProxyless] PASSED [ 93%]
|
| tests/test_tencent.py::TestTencent::test_kwargs[TencentTask] PASSED [ 93%]
|
| tests/test_tencent.py::TestTencent::test_kwargs[TencentTaskProxyless] PASSED [ 93%]
|
| tests/test_tencent.py::TestTencent::test_no_websiteURL[TencentTask] PASSED [ 93%]
|
| tests/test_tencent.py::TestTencent::test_no_websiteURL[TencentTaskProxyless] PASSED [ 94%]
|
| tests/test_tencent.py::TestTencent::test_no_appId[TencentTask] PASSED [ 94%]
|
| tests/test_tencent.py::TestTencent::test_no_appId[TencentTaskProxyless] PASSED [ 94%]
|
| tests/test_tencent.py::TestTencent::test_wrong_method[TencentTask] PASSED [ 95%]
|
| tests/test_tencent.py::TestTencent::test_wrong_method[TencentTaskProxyless] PASSED [ 95%]
|
| tests/test_text.py::TestTextCaptcha::test_methods_exists PASSED [ 95%]
|
| tests/test_text.py::TestTextCaptcha::test_args PASSED [ 95%]
|
| tests/test_text.py::TestTextCaptcha::test_basic[en-Our planet name?] PASSED [ 96%]
|
| tests/test_text.py::TestTextCaptcha::test_basic[rn-\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043d\u0430\u0448\u0435\u0439 \u043f\u043b\u0430\u043d\u0435\u0442\u044b?] PASSED [ 96%]
|
| tests/test_text.py::TestTextCaptcha::test_aio_basic[en-Our planet name?] PASSED [ 96%]
|
| tests/test_text.py::TestTextCaptcha::test_aio_basic[rn-\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043d\u0430\u0448\u0435\u0439 \u043f\u043b\u0430\u043d\u0435\u0442\u044b?] PASSED [ 97%]
|
| tests/test_text.py::TestTextCaptcha::test_no_textcaptcha PASSED [ 97%]
|
| tests/test_turnstile.py::TestTurnstile::test_methods_exists PASSED [ 97%]
|
| tests/test_turnstile.py::TestTurnstile::test_args[TurnstileTaskProxyless] PASSED [ 97%]
|
| tests/test_turnstile.py::TestTurnstile::test_args[TurnstileTask] PASSED [ 98%]
|
| tests/test_turnstile.py::TestTurnstile::test_kwargs PASSED [ 98%]
|
| tests/test_turnstile.py::TestTurnstile::test_basic_data PASSED [ 98%]
|
| tests/test_turnstile.py::TestTurnstile::test_aio_basic_data PASSED [ 99%]
|
| tests/test_turnstile.py::TestTurnstile::test_context_basic_data PASSED [ 99%]
|
| tests/test_turnstile.py::TestTurnstile::test_context_aio_basic_data PASSED [ 99%]
|
| tests/test_turnstile.py::TestTurnstile::test_wrong_method PASSED [100%]
|
|
|
| =================================== FAILURES ===================================
|
| ______________________ TestFunCaptcha.test_aio_basic_data ______________________
|
| tests/test_funcaptcha.py:86: in test_aio_basic_data
|
| assert result["status"] == "ready"
|
| E AssertionError: assert 'processing' == 'ready'
|
| E
|
| E - ready
|
| E + processing
|
| instance = <python_rucaptcha.fun_captcha.FunCaptcha object at 0x7f387209cb50>
|
| result = {'balance': None,
|
| 'cost': None,
|
| 'createTime': None,
|
| 'endTime': None,
|
| 'errorCode': None,
|
| 'errorDescription': None,
|
| 'errorId': 0,
|
| 'ip': None,
|
| 'solution': None,
|
| 'solveCount': None,
|
| 'status': 'processing',
|
| 'taskId': 78546519814}
|
| self = <tests.test_funcaptcha.TestFunCaptcha object at 0x7f38720c9050>
|
| ____________________ TestImageCaptcha.test_basic_link[temp] ____________________
|
| tests/test_image.py:53: in test_basic_link
|
| assert result["errorId"] in (1, 12)
|
| E assert 15 in (1, 12)
|
| instance = <python_rucaptcha.image_captcha.ImageCaptcha object at 0x7f3872023f10>
|
| result = {'balance': None,
|
| 'cost': None,
|
| 'createTime': None,
|
| 'endTime': None,
|
| 'errorCode': 'ERROR_IMAGE_TYPE_NOT_SUPPORTED',
|
| 'errorDescription': 'The image can not be processed due to an incorrect '
|
| 'format or size, or the image is corrupted. Please check '
|
| 'the image in your request payload.',
|
| 'errorId': 15,
|
| 'ip': None,
|
| 'solution': None,
|
| 'solveCount': None,
|
| 'status': 'ready',
|
| 'taskId': None}
|
| save_format = 'temp'
|
| self = <tests.test_image.TestImageCaptcha object at 0x7f3871ec37d0>
|
| ___________________ TestImageCaptcha.test_basic_link[const] ____________________
|
| tests/test_image.py:53: in test_basic_link
|
| assert result["errorId"] in (1, 12)
|
| E assert 15 in (1, 12)
|
| instance = <python_rucaptcha.image_captcha.ImageCaptcha object at 0x7f3871f52010>
|
| result = {'balance': None,
|
| 'cost': None,
|
| 'createTime': None,
|
| 'endTime': None,
|
| 'errorCode': 'ERROR_IMAGE_TYPE_NOT_SUPPORTED',
|
| 'errorDescription': 'The image can not be processed due to an incorrect '
|
| 'format or size, or the image is corrupted. Please check '
|
| 'the image in your request payload.',
|
| 'errorId': 15,
|
| 'ip': None,
|
| 'solution': None,
|
| 'solveCount': None,
|
| 'status': 'ready',
|
| 'taskId': None}
|
| save_format = 'const'
|
| self = <tests.test_image.TestImageCaptcha object at 0x7f3871ec1e10>
|
| __________________ TestImageCaptcha.test_aio_basic_link[temp] __________________
|
| tests/test_image.py:101: in test_aio_basic_link
|
| assert result["errorId"] in (1, 12)
|
| E assert 15 in (1, 12)
|
| instance = <python_rucaptcha.image_captcha.ImageCaptcha object at 0x7f387210e610>
|
| result = {'balance': None,
|
| 'cost': None,
|
| 'createTime': None,
|
| 'endTime': None,
|
| 'errorCode': 'ERROR_IMAGE_TYPE_NOT_SUPPORTED',
|
| 'errorDescription': 'The image can not be processed due to an incorrect '
|
| 'format or size, or the image is corrupted. Please check '
|
| 'the image in your request payload.',
|
| 'errorId': 15,
|
| 'ip': None,
|
| 'solution': None,
|
| 'solveCount': None,
|
| 'status': 'ready',
|
| 'taskId': None}
|
| save_format = 'temp'
|
| self = <tests.test_image.TestImageCaptcha object at 0x7f3871ea7f90>
|
| _________________ TestImageCaptcha.test_aio_basic_link[const] __________________
|
| tests/test_image.py:101: in test_aio_basic_link
|
| assert result["errorId"] in (1, 12)
|
| E assert 15 in (1, 12)
|
| instance = <python_rucaptcha.image_captcha.ImageCaptcha object at 0x7f387209efd0>
|
| result = {'balance': None,
|
| 'cost': None,
|
| 'createTime': None,
|
| 'endTime': None,
|
| 'errorCode': 'ERROR_IMAGE_TYPE_NOT_SUPPORTED',
|
| 'errorDescription': 'The image can not be processed due to an incorrect '
|
| 'format or size, or the image is corrupted. Please check '
|
| 'the image in your request payload.',
|
| 'errorId': 15,
|
| 'ip': None,
|
| 'solution': None,
|
| 'solveCount': None,
|
| 'status': 'ready',
|
| 'taskId': None}
|
| save_format = 'const'
|
| self = <tests.test_image.TestImageCaptcha object at 0x7f3871ea7a10>
|
| ____________________ TestRotateCaptcha.test_basic_data_link ____________________
|
| tests/test_rotate.py:49: in test_basic_data_link
|
| assert result["errorId"] in (1, 12)
|
| E assert 15 in (1, 12)
|
| instance = <python_rucaptcha.rotate_captcha.RotateCaptcha object at 0x7f387200a890>
|
| result = {'balance': None,
|
| 'cost': None,
|
| 'createTime': None,
|
| 'endTime': None,
|
| 'errorCode': 'ERROR_IMAGE_TYPE_NOT_SUPPORTED',
|
| 'errorDescription': 'The image can not be processed due to an incorrect '
|
| 'format or size, or the image is corrupted. Please check '
|
| 'the image in your request payload.',
|
| 'errorId': 15,
|
| 'ip': None,
|
| 'solution': None,
|
| 'solveCount': None,
|
| 'status': 'ready',
|
| 'taskId': None}
|
| self = <tests.test_rotate.TestRotateCaptcha object at 0x7f3871f7c910>
|
| ------------------------------ Captured log call -------------------------------
|
| WARNING root:rotate_captcha.py:153 self.result = GetTaskResultResponseSer(status='ready', solution=None, cost=None, ip=None, createTime=None, endTime=None, solveCount=None, taskId=None, balance=None, errorId=0, errorCode=None, errorDescription=None)
|
| __________________ TestRotateCaptcha.test_aio_basic_data_link __________________
|
| tests/test_rotate.py:98: in test_aio_basic_data_link
|
| assert result["errorId"] in (1, 12)
|
| E assert 15 in (1, 12)
|
| instance = <python_rucaptcha.rotate_captcha.RotateCaptcha object at 0x7f3871ffe290>
|
| result = {'balance': None,
|
| 'cost': None,
|
| 'createTime': None,
|
| 'endTime': None,
|
| 'errorCode': 'ERROR_IMAGE_TYPE_NOT_SUPPORTED',
|
| 'errorDescription': 'The image can not be processed due to an incorrect '
|
| 'format or size, or the image is corrupted. Please check '
|
| 'the image in your request payload.',
|
| 'errorId': 15,
|
| 'ip': None,
|
| 'solution': None,
|
| 'solveCount': None,
|
| 'status': 'ready',
|
| 'taskId': None}
|
| self = <tests.test_rotate.TestRotateCaptcha object at 0x7f3871f7ff10>
|
| ------------------------------ Captured log call -------------------------------
|
| WARNING root:rotate_captcha.py:190 self.result = GetTaskResultResponseSer(status='ready', solution=None, cost=None, ip=None, createTime=None, endTime=None, solveCount=None, taskId=None, balance=None, errorId=0, errorCode=None, errorDescription=None)
|
| ______________ TestRotateCaptcha.test_const_data_link[True-temp] _______________
|
| tests/test_rotate.py:151: in test_const_data_link
|
| assert result["errorId"] in (1, 12)
|
| E assert 15 in (1, 12)
|
| img_clearing = True
|
| instance = <python_rucaptcha.rotate_captcha.RotateCaptcha object at 0x7f38720d1890>
|
| result = {'balance': None,
|
| 'cost': None,
|
| 'createTime': None,
|
| 'endTime': None,
|
| 'errorCode': 'ERROR_IMAGE_TYPE_NOT_SUPPORTED',
|
| 'errorDescription': 'The image can not be processed due to an incorrect '
|
| 'format or size, or the image is corrupted. Please check '
|
| 'the image in your request payload.',
|
| 'errorId': 15,
|
| 'ip': None,
|
| 'solution': None,
|
| 'solveCount': None,
|
| 'status': 'ready',
|
| 'taskId': None}
|
| save_format = 'temp'
|
| self = <tests.test_rotate.TestRotateCaptcha object at 0x7f3871f58d10>
|
| ------------------------------ Captured log call -------------------------------
|
| WARNING root:rotate_captcha.py:153 self.result = GetTaskResultResponseSer(status='ready', solution=None, cost=None, ip=None, createTime=None, endTime=None, solveCount=None, taskId=None, balance=None, errorId=0, errorCode=None, errorDescription=None)
|
| ______________ TestRotateCaptcha.test_const_data_link[True-const] ______________
|
| tests/test_rotate.py:151: in test_const_data_link
|
| assert result["errorId"] in (1, 12)
|
| E assert 15 in (1, 12)
|
| img_clearing = True
|
| instance = <python_rucaptcha.rotate_captcha.RotateCaptcha object at 0x7f3871feadd0>
|
| result = {'balance': None,
|
| 'cost': None,
|
| 'createTime': None,
|
| 'endTime': None,
|
| 'errorCode': 'ERROR_IMAGE_TYPE_NOT_SUPPORTED',
|
| 'errorDescription': 'The image can not be processed due to an incorrect '
|
| 'format or size, or the image is corrupted. Please check '
|
| 'the image in your request payload.',
|
| 'errorId': 15,
|
| 'ip': None,
|
| 'solution': None,
|
| 'solveCount': None,
|
| 'status': 'ready',
|
| 'taskId': None}
|
| save_format = 'const'
|
| self = <tests.test_rotate.TestRotateCaptcha object at 0x7f3871f58a50>
|
| ------------------------------ Captured log call -------------------------------
|
| WARNING root:rotate_captcha.py:153 self.result = GetTaskResultResponseSer(status='ready', solution=None, cost=None, ip=None, createTime=None, endTime=None, solveCount=None, taskId=None, balance=None, errorId=0, errorCode=None, errorDescription=None)
|
| ______________ TestRotateCaptcha.test_const_data_link[False-temp] ______________
|
| tests/test_rotate.py:151: in test_const_data_link
|
| assert result["errorId"] in (1, 12)
|
| E assert 15 in (1, 12)
|
| img_clearing = False
|
| instance = <python_rucaptcha.rotate_captcha.RotateCaptcha object at 0x7f38721f7a10>
|
| result = {'balance': None,
|
| 'cost': None,
|
| 'createTime': None,
|
| 'endTime': None,
|
| 'errorCode': 'ERROR_IMAGE_TYPE_NOT_SUPPORTED',
|
| 'errorDescription': 'The image can not be processed due to an incorrect '
|
| 'format or size, or the image is corrupted. Please check '
|
| 'the image in your request payload.',
|
| 'errorId': 15,
|
| 'ip': None,
|
| 'solution': None,
|
| 'solveCount': None,
|
| 'status': 'ready',
|
| 'taskId': None}
|
| save_format = 'temp'
|
| self = <tests.test_rotate.TestRotateCaptcha object at 0x7f3871f59190>
|
| ------------------------------ Captured log call -------------------------------
|
| WARNING root:rotate_captcha.py:153 self.result = GetTaskResultResponseSer(status='ready', solution=None, cost=None, ip=None, createTime=None, endTime=None, solveCount=None, taskId=None, balance=None, errorId=0, errorCode=None, errorDescription=None)
|
| _____________ TestRotateCaptcha.test_const_data_link[False-const] ______________
|
| tests/test_rotate.py:151: in test_const_data_link
|
| assert result["errorId"] in (1, 12)
|
| E assert 15 in (1, 12)
|
| img_clearing = False
|
| instance = <python_rucaptcha.rotate_captcha.RotateCaptcha object at 0x7f38723b0490>
|
| result = {'balance': None,
|
| 'cost': None,
|
| 'createTime': None,
|
| 'endTime': None,
|
| 'errorCode': 'ERROR_IMAGE_TYPE_NOT_SUPPORTED',
|
| 'errorDescription': 'The image can not be processed due to an incorrect '
|
| 'format or size, or the image is corrupted. Please check '
|
| 'the image in your request payload.',
|
| 'errorId': 15,
|
| 'ip': None,
|
| 'solution': None,
|
| 'solveCount': None,
|
| 'status': 'ready',
|
| 'taskId': None}
|
| save_format = 'const'
|
| self = <tests.test_rotate.TestRotateCaptcha object at 0x7f3871f59390>
|
| ------------------------------ Captured log call -------------------------------
|
| WARNING root:rotate_captcha.py:153 self.result = GetTaskResultResponseSer(status='ready', solution=None, cost=None, ip=None, createTime=None, endTime=None, solveCount=None, taskId=None, balance=None, errorId=0, errorCode=None, errorDescription=None)
|
| ============================= slowest 10 durations =============================
|
| 206.41s call tests/test_friendly_captcha.py::TestFriendlyCaptcha::test_basic_data
|
| 205.69s call tests/test_friendly_captcha.py::TestFriendlyCaptcha::test_aio_basic_data
|
| 205.43s call tests/test_funcaptcha.py::TestFunCaptcha::test_aio_basic_data
|
| 204.99s call tests/test_cutcaptcha.py::TestCutCaptcha::test_basic_data
|
| 204.80s call tests/test_cutcaptcha.py::TestCutCaptcha::test_aio_basic_data
|
| 155.75s call tests/test_geetest.py::TestGeeTestV4::test_context_aio_basic_data
|
| 133.93s call tests/test_funcaptcha.py::TestFunCaptcha::test_basic_data
|
| 93.01s call tests/test_bounding_box.py::TestBoundingBoxCaptcha::test_aio_basic_file[temp]
|
| 82.30s call tests/test_amazon.py::TestAmazonCaptcha::test_basic_data
|
| 72.20s call tests/test_key_captcha.py::TestKeyCaptcha::test_basic_data
|
| =========================== short test summary info ============================
|
| FAILED tests/test_funcaptcha.py::TestFunCaptcha::test_aio_basic_data - AssertionError: assert 'processing' == 'ready'
|
|
|
| - ready
|
| + processing
|
| FAILED tests/test_image.py::TestImageCaptcha::test_basic_link[temp] - assert 15 in (1, 12)
|
| FAILED tests/test_image.py::TestImageCaptcha::test_basic_link[const] - assert 15 in (1, 12)
|
| FAILED tests/test_image.py::TestImageCaptcha::test_aio_basic_link[temp] - assert 15 in (1, 12)
|
| FAILED tests/test_image.py::TestImageCaptcha::test_aio_basic_link[const] - assert 15 in (1, 12)
|
| FAILED tests/test_rotate.py::TestRotateCaptcha::test_basic_data_link - assert 15 in (1, 12)
|
| FAILED tests/test_rotate.py::TestRotateCaptcha::test_aio_basic_data_link - assert 15 in (1, 12)
|
| FAILED tests/test_rotate.py::TestRotateCaptcha::test_const_data_link[True-temp] - assert 15 in (1, 12)
|
| FAILED tests/test_rotate.py::TestRotateCaptcha::test_const_data_link[True-const] - assert 15 in (1, 12)
|
| FAILED tests/test_rotate.py::TestRotateCaptcha::test_const_data_link[False-temp] - assert 15 in (1, 12)
|
| FAILED tests/test_rotate.py::TestRotateCaptcha::test_const_data_link[False-const] - assert 15 in (1, 12)
|
| =========== 11 failed, 332 passed, 26 warnings in 3500.71s (0:58:20) ===========
|