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

Function test_cli_scan_no_llm

tests/unit/test_cli.py:62–66  ·  view source on GitHub ↗

scan with --no-llm runs without requiring an LLM API key (uses fallback).

(tmp_path: Path)

Source from the content-addressed store, hash-verified

60
61
62def test_cli_scan_no_llm(tmp_path: Path) -> None:
63 """scan with --no-llm runs without requiring an LLM API key (uses fallback)."""
64 (tmp_path / "SKILL.md").write_text("# No LLM test", encoding="utf-8")
65 result = runner.invoke(app, ["scan", str(tmp_path), "--format", "json", "--no-llm"])
66 assert result.exit_code == 0
67
68
69def test_cli_scan_nonexistent_exits_2() -> None:

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected