MCPcopy Create free account
hub / github.com/NVIDIA/SkillSpector / TestAntigravityCLIProvider

Class TestAntigravityCLIProvider

tests/unit/test_providers.py:432–447  ·  view source on GitHub ↗

Antigravity CLI provider — registered but disabled; must fail closed.

Source from the content-addressed store, hash-verified

430
431
432class 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
450class TestClaudeCLIProvider:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected