Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Unit tests fail on pytest 8.4.2 #203

@TheArcaneBrony

Description

@TheArcaneBrony
pantalaimon> =========================== short test summary info ============================
pantalaimon> FAILED tests/pan_client_test.py::TestClass::test_login - Failed: async def functions are not natively supported.
pantalaimon> FAILED tests/pan_client_test.py::TestClass::test_start_loop - Failed: async def functions are not natively supported.
pantalaimon> FAILED tests/pan_client_test.py::TestClass::test_history_fetching_tasks - Failed: async def functions are not natively supported.
pantalaimon> FAILED tests/pan_client_test.py::TestClass::test_history_fetching_resume - Failed: async def functions are not natively supported.
pantalaimon> FAILED tests/pan_client_test.py::TestClass::test_room_key_on_client_sync_stream - Failed: async def functions are not natively supported.
pantalaimon> FAILED tests/proxy_test.py::TestClass::test_daemon_start - Failed: async def functions are not natively supported.
pantalaimon> FAILED tests/proxy_test.py::TestClass::test_pan_client_sync - Failed: async def functions are not natively supported.
pantalaimon> FAILED tests/proxy_test.py::TestClass::test_pan_client_keys_upload - Failed: async def functions are not natively supported.
pantalaimon> FAILED tests/proxy_test.py::TestClass::test_server_users_update - Failed: async def functions are not natively supported.
pantalaimon> FAILED tests/proxy_test.py::TestClass::tests_server_devices_update - Failed: async def functions are not natively supported.
pantalaimon> FAILED tests/store_test.py::TestClass::test_new_indexstore - Failed: async def functions are not natively supported.
pantalaimon> ================== 11 failed, 6 passed, 12 warnings in 2.84s ===================

Additionally, these warnings are thrown:

pantalaimon> =============================== warnings summary ===============================
pantalaimon> tests/pan_client_test.py::TestClass::test_login
pantalaimon>   /nix/store/1amh23481gd0d8604d5mlxj3fiba3sg3-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/fixtures.py:1182: PytestRemovedIn9Warning: 'test_login' requested an async fixture 'client', with no plugin or hook that handled it. This is usually an error, as pytest does not natively support it. This will turn into an error in pytest 9.
pantalaimon>   See: https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
pantalaimon>     warnings.warn(
pantalaimon> tests/pan_client_test.py::TestClass::test_start_loop
pantalaimon>   /nix/store/1amh23481gd0d8604d5mlxj3fiba3sg3-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/fixtures.py:1182: PytestRemovedIn9Warning: 'test_start_loop' requested an async fixture 'client', with no plugin or hook that handled it. This is usually an error, as pytest does not natively support it. This will turn into an error in pytest 9.
pantalaimon>   See: https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
pantalaimon>     warnings.warn(
pantalaimon> tests/pan_client_test.py::TestClass::test_history_fetching_tasks
pantalaimon>   /nix/store/1amh23481gd0d8604d5mlxj3fiba3sg3-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/fixtures.py:1182: PytestRemovedIn9Warning: 'test_history_fetching_tasks' requested an async fixture 'client', with no plugin or hook that handled it. This is usually an error, as pytest does not natively support it. This will turn into an error in pytest 9.
pantalaimon>   See: https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
pantalaimon>     warnings.warn(
pantalaimon> tests/pan_client_test.py::TestClass::test_history_fetching_resume
pantalaimon>   /nix/store/1amh23481gd0d8604d5mlxj3fiba3sg3-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/fixtures.py:1182: PytestRemovedIn9Warning: 'test_history_fetching_resume' requested an async fixture 'client', with no plugin or hook that handled it. This is usually an error, as pytest does not natively support it. This will turn into an error in pytest 9.
pantalaimon>   See: https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
pantalaimon>     warnings.warn(
pantalaimon> tests/pan_client_test.py::TestClass::test_room_key_on_client_sync_stream
pantalaimon>   /nix/store/1amh23481gd0d8604d5mlxj3fiba3sg3-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/fixtures.py:1182: PytestRemovedIn9Warning: 'test_room_key_on_client_sync_stream' requested an async fixture 'client', with no plugin or hook that handled it. This is usually an error, as pytest does not natively support it. This will turn into an error in pytest 9.
pantalaimon>   See: https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
pantalaimon>     warnings.warn(
pantalaimon> tests/proxy_test.py::TestClass::test_daemon_start
pantalaimon>   /nix/store/1amh23481gd0d8604d5mlxj3fiba3sg3-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/fixtures.py:1182: PytestRemovedIn9Warning: 'test_daemon_start' requested an async fixture 'pan_proxy_server', with no plugin or hook that handled it. This is usually an error, as pytest does not natively support it. This will turn into an error in pytest 9.
pantalaimon>   See: https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
pantalaimon>     warnings.warn(
pantalaimon> tests/proxy_test.py::TestClass::test_pan_client_sync
pantalaimon>   /nix/store/1amh23481gd0d8604d5mlxj3fiba3sg3-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/fixtures.py:1182: PytestRemovedIn9Warning: 'test_pan_client_sync' requested an async fixture 'pan_proxy_server', with no plugin or hook that handled it. This is usually an error, as pytest does not natively support it. This will turn into an error in pytest 9.
pantalaimon>   See: https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
pantalaimon>     warnings.warn(
pantalaimon> tests/proxy_test.py::TestClass::test_pan_client_keys_upload
pantalaimon>   /nix/store/1amh23481gd0d8604d5mlxj3fiba3sg3-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/fixtures.py:1182: PytestRemovedIn9Warning: 'test_pan_client_keys_upload' requested an async fixture 'pan_proxy_server', with no plugin or hook that handled it. This is usually an error, as pytest does not natively support it. This will turn into an error in pytest 9.
pantalaimon>   See: https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
pantalaimon>     warnings.warn(
pantalaimon> tests/proxy_test.py::TestClass::test_server_users_update
pantalaimon>   /nix/store/1amh23481gd0d8604d5mlxj3fiba3sg3-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/fixtures.py:1182: PytestRemovedIn9Warning: 'test_server_users_update' requested an async fixture 'pan_proxy_server', with no plugin or hook that handled it. This is usually an error, as pytest does not natively support it. This will turn into an error in pytest 9.
pantalaimon>   See: https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
pantalaimon>     warnings.warn(
pantalaimon> tests/proxy_test.py::TestClass::test_server_users_update
pantalaimon>   /nix/store/1amh23481gd0d8604d5mlxj3fiba3sg3-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/fixtures.py:1182: PytestRemovedIn9Warning: 'test_server_users_update' requested an async fixture 'running_proxy', with no plugin or hook that handled it. This is usually an error, as pytest does not natively support it. This will turn into an error in pytest 9.
pantalaimon>   See: https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
pantalaimon>     warnings.warn(
pantalaimon> tests/proxy_test.py::TestClass::tests_server_devices_update
pantalaimon>   /nix/store/1amh23481gd0d8604d5mlxj3fiba3sg3-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/fixtures.py:1182: PytestRemovedIn9Warning: 'tests_server_devices_update' requested an async fixture 'pan_proxy_server', with no plugin or hook that handled it. This is usually an error, as pytest does not natively support it. This will turn into an error in pytest 9.
pantalaimon>   See: https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
pantalaimon>     warnings.warn(
pantalaimon> tests/proxy_test.py::TestClass::tests_server_devices_update
pantalaimon>   /nix/store/1amh23481gd0d8604d5mlxj3fiba3sg3-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/fixtures.py:1182: PytestRemovedIn9Warning: 'tests_server_devices_update' requested an async fixture 'running_proxy', with no plugin or hook that handled it. This is usually an error, as pytest does not natively support it. This will turn into an error in pytest 9.
pantalaimon>   See: https://docs.pytest.org/en/stable/deprecations.html#sync-test-depending-on-async-fixture
pantalaimon>     warnings.warn(
pantalaimon> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions