(monkeypatch: pytest.MonkeyPatch)
| 17 | config = ClientConfig.resolve(token="arg", base_url="https://arg///", timeout_ms=99) |
| 18 | assert config == ClientConfig(token="arg", base_url="https://arg", timeout_ms=99) |
| 19 | |
| 20 | |
| 21 | def test_platform_api_key_is_not_a_relay_token(monkeypatch: pytest.MonkeyPatch) -> None: |
| 22 | monkeypatch.delenv("CMDOP_TOKEN", raising=False) |
| 23 | monkeypatch.setenv("CMDOP_API_KEY", "platform-only") |
| 24 | assert ClientConfig.resolve().token is None |
nothing calls this directly
no outgoing calls
no test coverage detected