mirror of
https://github.com/beetbox/beets.git
synced 2026-01-04 06:53:27 +01:00
More test docs about the image.* mixin
This commit is contained in:
parent
5863859a5d
commit
f137f87878
1 changed files with 8 additions and 1 deletions
|
|
@ -175,7 +175,11 @@ class ImageStructureTestMixin(ArtTestMixin):
|
|||
|
||||
|
||||
class ExtendedImageStructureTestMixin(ImageStructureTestMixin):
|
||||
"""Checks for additional attributes in the image structure."""
|
||||
"""Checks for additional attributes in the image structure.
|
||||
|
||||
Like the base `ImageStructureTestMixin`, per-format test classes
|
||||
should include this mixin to add image-related tests.
|
||||
"""
|
||||
|
||||
def assertExtendedImageAttributes(self, image, desc=None, type=None): # noqa
|
||||
self.assertEqual(image.desc, desc)
|
||||
|
|
@ -308,6 +312,9 @@ class ReadWriteTestBase(ArtTestMixin, GenreListTestMixin,
|
|||
pasting one of the existing subclasses below. You will want to
|
||||
update the `format` field in that subclass, and you will probably
|
||||
need to fiddle with the `bitrate` and other format-specific fields.
|
||||
|
||||
You can also add image tests (using an additional `image.*` fixture
|
||||
file) by including one of the image-related mixins.
|
||||
"""
|
||||
|
||||
full_initial_tags = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue