(self, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path)
| 1456 | |
| 1457 | @pytest.fixture(autouse=True) |
| 1458 | def _isolate(self, monkeypatch: pytest.MonkeyPatch, tmp_path: pathlib.Path) -> None: |
| 1459 | for var in _ALL_ENV: |
| 1460 | monkeypatch.delenv(var, raising=False) |
| 1461 | monkeypatch.setenv("ANTHROPIC_CONFIG_DIR", str(tmp_path)) |
| 1462 | |
| 1463 | def test_env_fills_missing_organization_id(self, tmp_path: pathlib.Path, monkeypatch: pytest.MonkeyPatch) -> None: |
| 1464 | monkeypatch.setenv("ANTHROPIC_ORGANIZATION_ID", "org_from_env") |
nothing calls this directly
no outgoing calls
no test coverage detected