From ee3fcc7bc39f7535897792f9e63a703e8c050bd4 Mon Sep 17 00:00:00 2001 From: Thomas Scholtes Date: Fri, 10 Jan 2025 11:46:15 +0100 Subject: [PATCH] =?UTF-8?q?Update=20type=20hints=20to=20comply=20with=20ch?= =?UTF-8?q?anges=20made=20in=20beets=E2=80=99=20master=20branch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/cli_test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/cli_test.py b/test/cli_test.py index 70ed029..70e8d51 100644 --- a/test/cli_test.py +++ b/test/cli_test.py @@ -325,6 +325,7 @@ def test_remove_item(self): def test_remove_album(self): album = self.add_external_album("myexternal") item = album.items().get() + assert item old_path = self.get_path(item) assert old_path.is_file() @@ -377,6 +378,7 @@ def touch_art(item: Item, image_path: Path): self.runcli("alt", "update", "myexternal") item = album.items().get() + assert item assert_has_not_embedded_artwork(self.get_path(item)) # Make a copy of the artwork, so that changing mtime/content won't @@ -391,6 +393,7 @@ def touch_art(item: Item, image_path: Path): self.runcli("alt", "update", "myexternal") item = album.items().get() + assert item assert_has_embedded_artwork(self.get_path(item), self.IMAGE_FIXTURE1) # Change content and update mtime, but do not change the item/album in @@ -401,6 +404,7 @@ def touch_art(item: Item, image_path: Path): self.runcli("alt", "update", "myexternal") item = album.items().get() + assert item assert_has_embedded_artwork(self.get_path(item), self.IMAGE_FIXTURE2) # now set a maxwidth and verify the final image has the right @@ -488,6 +492,7 @@ def test_convert_and_embed(self): self.runcli("alt", "update", "myexternal") item = album.items().get() + assert item assert_has_embedded_artwork(self.get_path(item)) def test_convert_write_tags(self):