scan with --no-llm runs without requiring an LLM API key (uses fallback).
(tmp_path: Path)
| 60 | |
| 61 | |
| 62 | def 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 | |
| 69 | def test_cli_scan_nonexistent_exits_2() -> None: |