Antigravity CLI provider — registered but disabled; must fail closed.
| 430 | |
| 431 | |
| 432 | class TestAntigravityCLIProvider: |
| 433 | """Antigravity CLI provider — registered but disabled; must fail closed.""" |
| 434 | |
| 435 | def test_resolve_credentials_returns_none(self) -> None: |
| 436 | assert AntigravityCLIProvider().resolve_credentials() is None |
| 437 | |
| 438 | def test_has_cli_capability(self) -> None: |
| 439 | assert has_cli_capability(AntigravityCLIProvider()) |
| 440 | |
| 441 | def test_is_available_reports_not_ready(self) -> None: |
| 442 | # agy is TTY-only (uncapturable), so the provider must NOT advertise |
| 443 | # itself as ready. (Reason is "binary not found" or "disabled" depending |
| 444 | # on whether `agy` happens to be on PATH; either way: not ready.) |
| 445 | available, reason = AntigravityCLIProvider().is_available() |
| 446 | assert available is False |
| 447 | assert reason |
| 448 | |
| 449 | |
| 450 | class TestClaudeCLIProvider: |
nothing calls this directly
no outgoing calls
no test coverage detected