MCPcopy Create free account
hub / github.com/github/copilot-sdk / _fixture

Function _fixture

python/e2e/_copilot_request_helpers.py:297–307  ·  view source on GitHub ↗
(ctx: E2ETestContext)

Source from the content-addressed store, hash-verified

295
296 @pytest_asyncio.fixture(loop_scope="module")
297 async def _fixture(ctx: E2ETestContext):
298 handler = make_handler()
299 client = build_isolated_client(ctx, handler, extra_env)
300 try:
301 yield client, handler
302 finally:
303 try:
304 await client.stop()
305 except Exception:
306 # Best-effort teardown during fixture cleanup.
307 pass
308
309 return _fixture

Callers

nothing calls this directly

Calls 2

build_isolated_clientFunction · 0.85
stopMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…