Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

fix(server): un-shadow hidden test in test_mcp_workspace (F811) (#1154)

Akshat malik62131ad54316
diff --git a/tests/unit/server/test_mcp_workspace.py b/tests/unit/server/test_mcp_workspace.py
index f63a8a476..1b25836ca 100644
--- a/tests/unit/server/test_mcp_workspace.py
+++ b/tests/unit/server/test_mcp_workspace.py
@@ -302,7 +302,7 @@ async def test_get_health_resolves_alias_different_from_repo_name(workspace_mcp)
@pytest.mark.asyncio
-async def test_generate_refactoring_code_resolves_alias_different_from_repo_name(workspace_mcp):
+async def test_generate_refactoring_code_unknown_id_returns_error(workspace_mcp):
from repowise.server.mcp_server import generate_refactoring_code
result = await generate_refactoring_code(suggestion_id="does-not-exist", repo="frontend")