Fix episode writers test (#938)

This commit is contained in:
JonnyWong16 2022-05-16 11:45:27 -07:00 committed by GitHub
parent 26671ec0b1
commit 76caa1d95e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1165,7 +1165,7 @@ def test_video_Episode_attrs(episode):
assert utils.is_int(episode.viewCount, gte=0)
assert episode.viewOffset == 0
if episode.writers:
assert "D. B. Weiss" in [i.tag for i in episode.writers]
assert "David Benioff" in [i.tag for i in episode.writers]
assert episode.year is None
assert episode.isWatched in [True, False]
assert len(episode.locations) == 1