()
| 195 | |
| 196 | @pytest.fixture |
| 197 | async def initialized_sse_client_session() -> AsyncGenerator[ClientSession, None]: |
| 198 | factory = in_process_client_factory(make_server_app()) |
| 199 | async with sse_client(f"{BASE_URL}/sse", httpx_client_factory=factory) as streams: |
| 200 | async with ClientSession(*streams) as session: |
| 201 | await session.initialize() |
| 202 | yield session |
| 203 | |
| 204 | |
| 205 | @pytest.mark.anyio |
nothing calls this directly
no test coverage detected