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

Function test_cli_version

tests/unit/test_cli.py:31–36  ·  view source on GitHub ↗

--version prints version and exits 0.

()

Source from the content-addressed store, hash-verified

29
30
31def test_cli_version() -> None:
32 """--version prints version and exits 0."""
33 result = runner.invoke(app, ["--version"])
34 assert result.exit_code == 0
35 assert "SkillSpector" in result.output
36 assert "v" in result.output
37
38
39def test_cli_scan_local_directory(tmp_path: Path) -> None:

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected