MCPcopy Create free account
hub / github.com/github/spec-kit / test_git_detected_via_path

Method test_git_detected_via_path

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

Source from the content-addressed store, hash-verified

96 """Non-Claude tools should be unaffected by the fix."""
97
98 def test_git_detected_via_path(self):
99 with patch("shutil.which", return_value="/usr/bin/git"):
100 assert check_tool("git") is True
101
102 def test_missing_tool(self):
103 with patch("shutil.which", return_value=None):

Callers

nothing calls this directly

Calls 1

check_toolFunction · 0.90

Tested by

no test coverage detected