MCPcopy Index your code
hub / github.com/github/spec-kit / test_missing_tool

Method test_missing_tool

tests/test_check_tool.py:102–104  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

100 assert check_tool("git") is True
101
102 def test_missing_tool(self):
103 with patch("shutil.which", return_value=None):
104 assert check_tool("nonexistent-tool") is False
105
106 def test_kiro_fallback(self):
107 """kiro-cli detection should try both kiro-cli and kiro."""

Callers

nothing calls this directly

Calls 1

check_toolFunction · 0.90

Tested by

no test coverage detected