(ctx: E2ETestContext, token: str)
| 76 | |
| 77 | |
| 78 | def _make_authed_client(ctx: E2ETestContext, token: str) -> CopilotClient: |
| 79 | env = ctx.get_env() |
| 80 | env["COPILOT_DEBUG_GITHUB_API_URL"] = ctx.proxy_url |
| 81 | return CopilotClient( |
| 82 | connection=RuntimeConnection.for_stdio(path=ctx.cli_path), |
| 83 | working_directory=ctx.work_dir, |
| 84 | env=env, |
| 85 | github_token=token, |
| 86 | ) |
| 87 | |
| 88 | |
| 89 | def _make_client_with_env(ctx: E2ETestContext, env_overrides: dict[str, str]) -> CopilotClient: |
no test coverage detected
searching dependent graphs…