(
context_factory: "Callable[..., asyncio.Future[BrowserContext]]",
)
| 120 | |
| 121 | @pytest.fixture |
| 122 | async def context( |
| 123 | context_factory: "Callable[..., asyncio.Future[BrowserContext]]", |
| 124 | ) -> AsyncGenerator[BrowserContext, None]: |
| 125 | context = await context_factory() |
| 126 | yield context |
| 127 | await context.close() |
| 128 | |
| 129 | |
| 130 | @pytest.fixture |
nothing calls this directly
no test coverage detected