Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
fix(packages): make candidate probe test path portable
Martin Vogel079c6dcc7aca
diff --git a/pkg/pypi/tests/test_cli.py b/pkg/pypi/tests/test_cli.pyindex bab4a55b5..5a3c819bc 100644--- a/pkg/pypi/tests/test_cli.py+++ b/pkg/pypi/tests/test_cli.py@@ -11,7 +11,7 @@ import threadingimport timeimport unittestimport zipfile-from pathlib import Path+from pathlib import Path, PureWindowsPathfrom unittest import mock@@ -208,15 +208,22 @@ class ProcessLivenessTests(unittest.TestCase):class RuntimeSetTests(unittest.TestCase):def test_candidate_probe_authenticates_adjacent_runtime_assets(self):- with mock.patch.object(_cli.subprocess, "run") as run:- run.return_value.returncode = 0- _cli._verify_candidate(Path("/tmp/codebase-memory-mcp"))-- self.assertEqual(- run.call_args.args[0],- ["/tmp/codebase-memory-mcp", "--verify-runtime-assets"],+ candidates = (+ Path("/tmp/codebase-memory-mcp"),+ PureWindowsPath("/tmp/codebase-memory-mcp"),)+ for candidate in candidates:+ with self.subTest(candidate=candidate):+ with mock.patch.object(_cli.subprocess, "run") as run:+ run.return_value.returncode = 0+ _cli._verify_candidate(candidate)++ self.assertEqual(+ run.call_args.args[0],+ [str(candidate), "--verify-runtime-assets"],+ )+def test_runtime_readiness_rejects_multiply_linked_cache_leaves(self):with tempfile.TemporaryDirectory() as root, mock.patch.object(_cli, "_cache_dir", return_value=Path(root)