Fix episode attributes test year (#1103)

This commit is contained in:
JonnyWong16 2023-02-02 23:23:13 -08:00 committed by GitHub
parent 8b3235445f
commit c6482481e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1182,7 +1182,7 @@ def test_video_Episode_attrs(episode):
assert episode.viewOffset == 0
if episode.writers:
assert "David Benioff" in [i.tag for i in episode.writers]
assert episode.year is None
assert episode.year == 2011
assert episode.isPlayed in [True, False]
assert len(episode.locations) == 1
assert len(episode.locations[0]) >= 10