Files
d3vyce 6714ceeb92 chore: documentation (#76)
* chore: update docstring example to use python code block

* docs: add documentation

* feat: add docs build + fix other workdlows

* fix: add missing return type
2026-02-19 16:43:38 +01:00

684 B

pytest

Here's the reference for all testing utilities and pytest fixtures.

You can import them directly from fastapi_toolsets.pytest:

from fastapi_toolsets.pytest import (
    register_fixtures,
    create_async_client,
    create_db_session,
    worker_database_url,
    create_worker_database,
    cleanup_tables,
)

::: fastapi_toolsets.pytest.plugin.register_fixtures

::: fastapi_toolsets.pytest.utils.create_async_client

::: fastapi_toolsets.pytest.utils.create_db_session

::: fastapi_toolsets.pytest.utils.worker_database_url

::: fastapi_toolsets.pytest.utils.create_worker_database

::: fastapi_toolsets.pytest.utils.cleanup_tables