We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 705be71 commit df5b292Copy full SHA for df5b292
tests/test_video.py
@@ -982,9 +982,14 @@ def test_video_Show_mixins_images(show):
982
test_mixins.attr_squareArtUrl(show)
983
984
985
-def test_video_Show_mixins_themes(show):
+def test_video_Show_mixins_themes(show, plex):
986
test_mixins.edit_theme(show)
987
988
+ # Need to re-upload theme for future season/episode tests
989
+ if themes := show.themes():
990
+ if theme := next((t for t in themes if t.ratingKey.startswith("metadata://")), None):
991
+ show.uploadTheme(url=plex.url(theme.key, includeToken=True)).unlockTheme()
992
+
993
994
def test_video_Show_mixins_rating(show):
995
test_mixins.edit_rating(show)
0 commit comments