Skip to content

Commit f5d422a

Browse files
committed
refactor(tests): update project paths in ClaudeSyncTests for consistency
- Changed project paths in test_claude_sync.py from "/Users/test" to "/Users/you" to reflect user-specific directory structure. - Ensured that test assertions align with the updated project paths for accurate validation.
1 parent ad0ba24 commit f5d422a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎tests/test_claude_sync.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,16 +364,16 @@ def test_xcode_claude_json_per_project_mcp_servers(self) -> None:
364364
xc_path.parent.mkdir(parents=True, exist_ok=True)
365365
data = {
366366
"projects": {
367-
"/Users/test/project1": {"otherKey": "val1"},
368-
"/Users/test/project2": {"otherKey": "val2"},
367+
"/Users/you/project1": {"otherKey": "val1"},
368+
"/Users/you/project2": {"otherKey": "val2"},
369369
}
370370
}
371371
self._write_json(xc_path, data)
372372

373373
_run_claude_sync(self.root, self.platform_cfg)
374374

375375
result = self._read_json(xc_path)
376-
for proj_name in ("/Users/test/project1", "/Users/test/project2"):
376+
for proj_name in ("/Users/you/project1", "/Users/you/project2"):
377377
self.assertIn("mcpServers", result["projects"][proj_name])
378378
self.assertIn("sample", result["projects"][proj_name]["mcpServers"])
379379
# Root level should NOT have mcpServers when projects exist

0 commit comments

Comments
 (0)