MCPcopy Index your code
hub / github.com/github/copilot-sdk / mctx

Function mctx

python/e2e/test_multi_client_e2e.py:167–173  ·  view source on GitHub ↗

Multi-client test context fixture.

(request)

Source from the content-addressed store, hash-verified

165
166@pytest_asyncio.fixture(scope="module", loop_scope="module")
167async def mctx(request):
168 """Multi-client test context fixture."""
169 context = MultiClientContext()
170 await context.setup()
171 yield context
172 any_failed = request.session.stash.get("any_test_failed", False)
173 await context.teardown(test_failed=any_failed)
174
175
176@pytest_asyncio.fixture(autouse=True, loop_scope="module")

Callers

nothing calls this directly

Calls 4

setupMethod · 0.95
teardownMethod · 0.95
MultiClientContextClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…