From 9e226ef645862c7d7bf4b0d0edacc9649cd213b0 Mon Sep 17 00:00:00 2001 From: Thomas Scholtes Date: Thu, 11 Apr 2024 11:27:55 +0200 Subject: [PATCH] fixup! Use pathlib in tests --- test/cli_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cli_test.py b/test/cli_test.py index 832b5b1..4f2d035 100644 --- a/test/cli_test.py +++ b/test/cli_test.py @@ -389,7 +389,7 @@ def touch_art(item: Item, image_path: Path): touch_art(item, image_path) # Add a cover image, assert that it is being embedded. - album.artpath = str(image_path) + album.artpath = bytes(image_path) album.store() self.runcli("alt", "update", "myexternal") @@ -473,7 +473,7 @@ def test_convert_and_embed(self): self.config["convert"]["embed"] = True album = self.add_album(myexternal="true", format="m4a") - album.artpath = str(self.IMAGE_FIXTURE1) + album.artpath = bytes(self.IMAGE_FIXTURE1) album.store() self.runcli("alt", "update", "myexternal")