Coverage for fastapi_restly / pytest_fixtures.py: 33%
7 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-06-24 11:13 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-06-24 11:13 +0000
1try:
2 from fastapi_restly._pytest_fixtures import (
3 _shared_connection,
4 restly_app,
5 restly_async_session,
6 restly_client,
7 restly_project_root,
8 restly_session,
9 )
10except ModuleNotFoundError as exc:
11 if exc.name in {"httpx", "pytest"}:
12 raise ModuleNotFoundError(
13 "fastapi_restly.pytest_fixtures requires optional testing dependencies. "
14 'Install them with: pip install "fastapi-restly[testing]"'
15 ) from exc
16 raise
18__all__ = [
19 "restly_app",
20 "restly_async_session",
21 "restly_client",
22 "restly_project_root",
23 "restly_session",
24]