New paste Repaste Download
=============================================================================================================================================== test session starts ================================================================================================================================================
platform linux -- Python 3.12.4, pytest-8.3.4, pluggy-1.5.0 -- /home/homea/.pyenv/versions/3.12.4/envs/Capsolver/bin/python
cachedir: .pytest_cache
rootdir: /home/homea/Documents/Prog/Private/python3-capsolver
configfile: pyproject.toml
plugins: asyncio-0.25.0
asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None
collecting ...
collecting 7 items                                                                                                                                                                                                                                                                                                 
collected 33 items                                                                                                                                                                                                                                                                                                 
tests/test_aws_waf.py::TestAwsWafBase::test_captcha_handler_exist[AwsWafClassification] PASSED                                                                                                                                                                                                               [  3%]
tests/test_aws_waf.py::TestAwsWafBase::test_captcha_handler_exist[AntiAwsWafTask] PASSED                                                                                                                                                                                                                     [  6%]
tests/test_aws_waf.py::TestAwsWafBase::test_captcha_handler_exist[AntiAwsWafTaskProxyLess] PASSED                                                                                                                                                                                                            [  9%]
tests/test_aws_waf.py::TestAwsWafBase::test_captcha_handler_api_key_err[AwsWafClassification] PASSED                                                                                                                                                                                                         [ 12%]
tests/test_aws_waf.py::TestAwsWafBase::test_captcha_handler_api_key_err[AntiAwsWafTask] PASSED                                                                                                                                                                                                               [ 15%]
tests/test_aws_waf.py::TestAwsWafBase::test_captcha_handler_api_key_err[AntiAwsWafTaskProxyLess] PASSED                                                                                                                                                                                                      [ 18%]
tests/test_aws_waf.py::TestAwsWafBase::test_aio_captcha_handler_api_key_err ERROR                                                                                                                                                                                                                            [ 21%]
tests/test_control.py::TestControl::test_get_balance_exist
====================================================================================================================================================== ERRORS ======================================================================================================================================================
______________________________________________________________________________________________________________________ ERROR at setup of TestAwsWafBase.test_aio_captcha_handler_api_key_err _______________________________________________________________________________________________________________________
file /home/homea/Documents/Prog/Private/python3-capsolver/tests/test_aws_waf.py, line 33
      async def test_aio_captcha_handler_api_key_err(self, captcha_type):
          result = await AwsWaf(api_key=self.get_random_string(36), captcha_type=captcha_type).aio_captcha_handler(
              task_payload={"some": "data"}
          )
          assert result["errorId"] == 1
          assert result["errorCode"] in ("ERROR_KEY_DENIED_ACCESS", "ERROR_INVALID_TASK_DATA")
          assert result["solution"] is None
E       fixture 'captcha_type' not found
>       available fixtures: _session_event_loop, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, delay_class, delay_func, doctest_namespace, event_loop, event_loop_policy, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tests/test_aws_waf.py::<event_loop>, tests/test_aws_waf.py::TestAwsWafBase::<event_loop>, tests::<event_loop>, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, unused_udp_port_factory
>       use 'pytest --fixtures [testpath]' for help on them.
/home/homea/Documents/Prog/Private/python3-capsolver/tests/test_aws_waf.py:33
=============================================================================================================================================== slowest 10 durations ===============================================================================================================================================
3.00s setup    tests/test_aws_waf.py::TestAwsWafBase::test_captcha_handler_exist[AwsWafClassification]
1.00s setup    tests/test_aws_waf.py::TestAwsWafBase::test_captcha_handler_api_key_err[AntiAwsWafTask]
1.00s setup    tests/test_aws_waf.py::TestAwsWafBase::test_captcha_handler_exist[AntiAwsWafTask]
1.00s setup    tests/test_aws_waf.py::TestAwsWafBase::test_captcha_handler_api_key_err[AntiAwsWafTaskProxyLess]
1.00s setup    tests/test_aws_waf.py::TestAwsWafBase::test_captcha_handler_api_key_err[AwsWafClassification]
1.00s setup    tests/test_aws_waf.py::TestAwsWafBase::test_captcha_handler_exist[AntiAwsWafTaskProxyLess]
1.00s setup    tests/test_aws_waf.py::TestAwsWafBase::test_aio_captcha_handler_api_key_err
0.34s call     tests/test_aws_waf.py::TestAwsWafBase::test_captcha_handler_api_key_err[AwsWafClassification]
0.31s call     tests/test_aws_waf.py::TestAwsWafBase::test_captcha_handler_api_key_err[AntiAwsWafTask]
0.31s call     tests/test_aws_waf.py::TestAwsWafBase::test_captcha_handler_api_key_err[AntiAwsWafTaskProxyLess]
============================================================================================================================================= short test summary info ==============================================================================================================================================
[31mERROR [0m tests/test_aws_waf.py:: [1mTestAwsWafBase::test_aio_captcha_handler_api_key_err [0m
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! KeyboardInterrupt !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/home/homea/Documents/Prog/Private/python3-capsolver/tests/conftest.py:16: KeyboardInterrupt
(to show a full traceback on KeyboardInterrupt use --full-trace)
=====================================================================================================================================  [32m6 passed [0m,  [33m3 warnings [0m,  [31m [1m1 error [0m [31m in 12.99s [0m [31m ======================================================================================================================================
Filename: None. Size: 8kb. View raw, , hex, or download this file.

This paste expires on 2025-01-25 00:17:00.516462. Pasted through deprecated-web.