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

Function _require

tests/integration/test_agent_cli_live.py:64–68  ·  view source on GitHub ↗

Skip the current test unless *cli* is installed AND authenticated.

(cli: str)

Source from the content-addressed store, hash-verified

62
63
64def _require(cli: str) -> None:
65 """Skip the current test unless *cli* is installed AND authenticated."""
66 available, reason = _agent_cli.is_available(cli)
67 if not available:
68 pytest.skip(f"{cli} CLI not available: {reason}")
69
70
71@pytest.mark.parametrize("cli", LIVE_CLIS)

Calls 1

is_availableMethod · 0.45

Tested by

no test coverage detected