Skip to content

Commit 1214bc0

Browse files
authored
Add tests for music, photos, collections, and playlists
1 parent 4bbf714 commit 1214bc0

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

tests/test_audio.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,11 @@ def test_audio_Artist_mixins_edit_advanced_settings(artist):
103103
@pytest.mark.xfail(reason="Changing images fails randomly")
104104
def test_audio_Artist_mixins_images(artist):
105105
test_mixins.lock_art(artist)
106+
test_mixins.lock_logo(artist)
106107
test_mixins.lock_poster(artist)
107108
test_mixins.lock_squareArt(artist)
108109
test_mixins.edit_art(artist)
110+
test_mixins.edit_logo(artist)
109111
test_mixins.edit_poster(artist)
110112
test_mixins.edit_squareArt(artist)
111113
test_mixins.attr_artUrl(artist)
@@ -237,9 +239,11 @@ def test_audio_Album_artist(album):
237239
@pytest.mark.xfail(reason="Changing images fails randomly")
238240
def test_audio_Album_mixins_images(album):
239241
test_mixins.lock_art(album)
242+
test_mixins.lock_logo(album)
240243
test_mixins.lock_poster(album)
241244
test_mixins.lock_squareArt(album)
242245
test_mixins.edit_art(album)
246+
test_mixins.edit_logo(album)
243247
test_mixins.edit_poster(album)
244248
test_mixins.edit_squareArt(album)
245249
test_mixins.attr_artUrl(album)

tests/test_collection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,11 @@ def test_Collection_art(collection):
352352
@pytest.mark.xfail(reason="Changing images fails randomly")
353353
def test_Collection_mixins_images(collection):
354354
test_mixins.lock_art(collection)
355+
test_mixins.lock_logo(collection)
355356
test_mixins.lock_poster(collection)
356357
test_mixins.lock_squareArt(collection)
357358
test_mixins.edit_art(collection)
359+
test_mixins.edit_logo(collection)
358360
test_mixins.edit_poster(collection)
359361
test_mixins.edit_squareArt(collection)
360362
test_mixins.attr_artUrl(collection)

tests/test_photo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ def test_photo_Photoalbum(photoalbum):
1818
@pytest.mark.xfail(reason="Changing images fails randomly")
1919
def test_photo_Photoalbum_mixins_images(photoalbum):
2020
test_mixins.edit_art(photoalbum)
21+
test_mixins.edit_logo(photoalbum)
2122
test_mixins.edit_poster(photoalbum)
2223
test_mixins.edit_squareArt(photoalbum)
2324
test_mixins.lock_art(photoalbum)
25+
test_mixins.lock_logo(photoalbum)
2426
test_mixins.lock_poster(photoalbum)
2527
test_mixins.lock_squareArt(photoalbum)
2628
test_mixins.attr_artUrl(photoalbum)

tests/test_playlist.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,11 @@ def test_Playlist_PlexWebURL(plex, show):
327327
@pytest.mark.xfail(reason="Changing images fails randomly")
328328
def test_Playlist_mixins_images(playlist):
329329
test_mixins.lock_art(playlist)
330+
test_mixins.lock_logo(playlist)
330331
test_mixins.lock_poster(playlist)
331332
test_mixins.lock_squareArt(playlist)
332333
test_mixins.edit_art(playlist)
334+
test_mixins.edit_logo(playlist)
333335
test_mixins.edit_poster(playlist)
334336
test_mixins.edit_squareArt(playlist)
335337
test_mixins.attr_artUrl(playlist)

0 commit comments

Comments
 (0)