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):