Fix show studio test (#979)

This commit is contained in:
JonnyWong16 2022-07-20 17:00:55 -07:00 committed by GitHub
parent 2b960cf868
commit ae78557931
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -730,7 +730,7 @@ def test_video_Show_attrs(show):
assert show.actors == show.roles assert show.actors == show.roles
assert show._server._baseurl == utils.SERVER_BASEURL assert show._server._baseurl == utils.SERVER_BASEURL
assert show.showOrdering in (None, 'aired') assert show.showOrdering in (None, 'aired')
assert show.studio == "Revolution Sun Studios" assert show.studio == "Generator Entertainment"
assert utils.is_string(show.summary, gte=100) assert utils.is_string(show.summary, gte=100)
assert show.tagline == "Winter is coming." assert show.tagline == "Winter is coming."
assert utils.is_metadata(show.theme, contains="/theme/") assert utils.is_metadata(show.theme, contains="/theme/")
@ -956,7 +956,7 @@ def test_video_Season_attrs(show):
assert season.parentIndex == 1 assert season.parentIndex == 1
assert utils.is_metadata(season.parentKey) assert utils.is_metadata(season.parentKey)
assert utils.is_int(season.parentRatingKey) assert utils.is_int(season.parentRatingKey)
assert season.parentStudio == "Revolution Sun Studios" assert season.parentStudio == "Generator Entertainment"
assert utils.is_metadata(season.parentTheme) assert utils.is_metadata(season.parentTheme)
if season.parentThumb: if season.parentThumb:
assert utils.is_thumb(season.parentThumb) assert utils.is_thumb(season.parentThumb)