Coverage for fastapi_restly / testing / __init__.py: 40%
8 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.db import (
3 activate_savepoint_only_mode,
4 deactivate_savepoint_only_mode,
5 )
7 from ._client import RestlyTestClient
8except ModuleNotFoundError as exc:
9 if exc.name == "httpx":
10 raise ModuleNotFoundError(
11 "fastapi_restly.testing requires optional testing dependencies. "
12 'Install them with: pip install "fastapi-restly[testing]"'
13 ) from exc
14 raise
16__all__ = [
17 "RestlyTestClient",
18 "activate_savepoint_only_mode",
19 "deactivate_savepoint_only_mode",
20]