Skip to content

Commit

Permalink
fixup! Use pathlib in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
geigerzaehler committed Apr 11, 2024
1 parent 9ca498d commit 9e226ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 9e226ef

Please sign in to comment.