(self, monkeypatch: pytest.MonkeyPatch)
| 289 | assert "SSH_AUTH_SOCK" not in env |
| 290 | |
| 291 | def test_strips_github_token(self, monkeypatch: pytest.MonkeyPatch) -> None: |
| 292 | monkeypatch.setenv("GITHUB_TOKEN", "ghp_token") |
| 293 | env = _scrub_env() |
| 294 | assert "GITHUB_TOKEN" not in env |
| 295 | |
| 296 | def test_preserves_safe_vars(self, monkeypatch: pytest.MonkeyPatch) -> None: |
| 297 | monkeypatch.setenv("PATH", "/usr/bin:/bin") |
nothing calls this directly
no test coverage detected