From ac88a20cbcef182030f51b678e3f732d388d7747 Mon Sep 17 00:00:00 2001 From: Thomas Scholtes Date: Sat, 16 Nov 2024 12:40:59 +0100 Subject: [PATCH] Skip tests failing on windows due to lacking environment --- test/cli_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/cli_test.py b/test/cli_test.py index aea9439..bcbb4ba 100644 --- a/test/cli_test.py +++ b/test/cli_test.py @@ -2,6 +2,7 @@ import os.path import platform import shutil +import sys from pathlib import Path from time import sleep @@ -340,6 +341,9 @@ def test_unkown_collection(self): self.runcli("alt", "update", "unkown") assert str(e.value) == "Alternative collection 'unkown' not found." + @pytest.mark.skipif( + sys.platform.startswith("win"), reason="Image conversion not available" + ) def test_embed_art(self, tmp_path: Path): """Test that artwork is embedded and updated to match the source file.