Build the expected MCP output path with the platform separator

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Victor KuznetsovandClaude Opus 5.5 committed 2026-10-17 14:27:35 -07:00
1 parent 06c0cb1bbe
commit a4eb16ad77
1 file changed
+1 -1
+1 -1
View File
@@ -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"]),