()
| 55 | |
| 56 | @pytest.fixture(scope="module") |
| 57 | async def client_east() -> ClientManagerType: |
| 58 | # app_east uses _enable_global_fallback=False, so we need to explicitly |
| 59 | # enter the context from app.state to make it current for tests |
| 60 | async with client_manager(app_east) as c: |
| 61 | ctx = app_east.state._tortoise_context |
| 62 | with ctx: # Enter context to make it current via contextvar |
| 63 | await truncate_all_models() |
| 64 | yield c |
| 65 | |
| 66 | |
| 67 | class UserTester: |
nothing calls this directly
no test coverage detected
searching dependent graphs…