test: skip Linux-specific get_claude_detection_paths test on Windows

This commit is contained in:
StillKnotKnown
2026-02-09 12:31:38 +02:00
parent 9f88815c0a
commit 18db3328fb
+1
View File
@@ -316,6 +316,7 @@ class TestToolDetection:
result = find_executable("git")
assert result == "C:\\Program Files\\Git\\bin\\git.exe"
@pytest.mark.skipif(sys.platform == "win32", reason="Test uses Linux-specific paths and expects is_windows=False")
@patch("core.platform.is_windows", return_value=False)
@patch("core.platform.is_macos", return_value=False)
@patch("pathlib.Path.home", return_value=Path("/home/user"))