Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
fix(tests): spell the backslash in the windows changed path literally (#3402)
ump45nose38ef485e6bce
diff --git a/tests/unit/server/mcp/test_change_test_selection.py b/tests/unit/server/mcp/test_change_test_selection.pyindex 03ad0bb33..94d0eeb1a 100644--- a/tests/unit/server/mcp/test_change_test_selection.py+++ b/tests/unit/server/mcp/test_change_test_selection.py@@ -356,7 +356,7 @@ async def test_a_path_the_checkout_lacks_fails_closed_and_backslashes_are_paths(assert missing["tests_run_all"] is Trueassert missing["tests_run_all_reasons"][0].startswith("src/nope.py was deleted")- windows = await _risk_directive(monkeypatch, repo, factory, ["src\status.py"])+ windows = await _risk_directive(monkeypatch, repo, factory, ["src\\status.py"])assert windows["tests_run_all"] is Falseassert sorted(windows["tests_to_run"]) == ["tests/test_status.py", "tests/test_walks.py"]