(ctx: E2ETestContext)
| 99 | |
| 100 | @pytest_asyncio.fixture(loop_scope="module") |
| 101 | async def bearer_fixture(ctx: E2ETestContext): |
| 102 | handler = _CapturingRequestHandler() |
| 103 | client = build_isolated_client(ctx, handler) |
| 104 | await client.start() |
| 105 | try: |
| 106 | yield client, handler |
| 107 | finally: |
| 108 | try: |
| 109 | await client.stop() |
| 110 | except Exception: |
| 111 | # Best-effort teardown during fixture cleanup. |
| 112 | pass |
| 113 | |
| 114 | |
| 115 | async def _run_turn(client, providers, models, selection_id: str, prompt: str) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…