Skip to content

Commit 28e8e5e

Browse files
jope-bmclaude
andcommitted
fix: make project move command test cross-platform compatible
Updates test_project_move_command_uses_permalink to use os.path.join() for path construction instead of hardcoded Unix-style paths. This ensures the test works correctly on both Windows and Unix systems by using the appropriate path separator for each platform. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Joe P <joe@basicmemory.com>
1 parent 59a1994 commit 28e8e5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/cli/test_project_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def test_project_move_command_uses_permalink(mock_session, mock_call_patch, cli_
207207

208208
# Test with a project name that needs normalization (spaces, mixed case)
209209
project_name = "Test Project Name"
210-
new_path = "/new/path/to/project"
210+
new_path = os.path.join("new", "path", "to", "project")
211211

212212
result = runner.invoke(cli_app, ["project", "move", project_name, new_path])
213213

0 commit comments

Comments
 (0)