mirror of
https://github.com/wiltodelta/remove-ai-watermarks.git
synced 2026-10-18 23:37:14 +02:00
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:
1 parent
06c0cb1bbe
commit
a4eb16ad77
1 file changed
+1
-1
@@ -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"]),
|
||||
|
||||
Reference in new issue
Block a user