(ctx: E2ETestContext)
| 18 | |
| 19 | @pytest.fixture(scope="module") |
| 20 | async def provider_ctx(ctx: E2ETestContext): |
| 21 | env = {**ctx.get_env(), "COPILOT_ALLOW_GET_PROVIDER_ENDPOINT": "true"} |
| 22 | client = CopilotClient( |
| 23 | connection=RuntimeConnection.for_stdio(path=ctx.cli_path), |
| 24 | working_directory=ctx.work_dir, |
| 25 | env=env, |
| 26 | github_token=env["GITHUB_TOKEN"], |
| 27 | ) |
| 28 | try: |
| 29 | yield ctx, client |
| 30 | finally: |
| 31 | await client.stop() |
| 32 | |
| 33 | |
| 34 | class TestProviderEndpoint: |
nothing calls this directly
no test coverage detected
searching dependent graphs…