From a4eb16ad77ceb6fe7ca375bb0c2a022ca76db198 Mon Sep 17 00:00:00 2001 From: Victor Kuznetsov Date: Sat, 17 Oct 2026 14:27:35 -0700 Subject: [PATCH] Build the expected MCP output path with the platform separator Co-Authored-By: Claude Opus 5.5 --- tests/test_mcp_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_mcp_server.py b/tests/test_mcp_server.py index 941e20c..6d4b0af 100644 --- a/tests/test_mcp_server.py +++ b/tests/test_mcp_server.py @@ -110,7 +110,7 @@ def test_identify_maps_to_the_cli(arguments: dict, expected: list[str]) -> None: @pytest.mark.parametrize( ("arguments", "expected"), [ - ({"path": "d/a.png"}, ["metadata", "--remove", "-o", "d/a_clean.png", "--", "d/a.png"]), + ({"path": "d/a.png"}, ["metadata", "--remove", "-o", str(Path("d/a_clean.png")), "--", "d/a.png"]), ({"path": "a.jpg", "mode": "visible"}, ["visible", "-o", "a_clean.jpg", "--", "a.jpg"]), ({"path": "a.png", "mode": "all", "output": "o.png"}, ["all", "-o", "o.png", "--", "a.png"]), ({"path": "c.mov"}, ["video", "metadata", "--remove", "-o", "c_clean.mov", "--", "c.mov"]),