Skip to content

Commit 891c325

Browse files
committed
Fix some tests
1 parent 8666b53 commit 891c325

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/test_audio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_audio_Artist_attr(artist):
1818
assert len(artist.locations[0]) >= 10
1919
assert artist.ratingKey >= 1
2020
assert artist._server._baseurl == utils.SERVER_BASEURL
21-
assert [a.tag for a in artist.similar] == ['Kenneth Reitz']
21+
assert [a.tag for a in artist.similar] == ['Kenneth Reitz', 'Drystar']
2222
assert artist.summary == ''
2323
assert artist.title == 'Infinite State'
2424
assert artist.titleSort == 'Infinite State'

tests/test_myplex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def test_myplex_users(account):
7575
print('Found user: %s' % user)
7676
assert user, 'Could not find user %s' % users[0].title
7777

78-
assert len(users[0].servers[0].sections()) == 7, "Could'nt info about the shared libraries"
78+
assert len(users[0].servers[0].sections()) == 10, "Could'nt info about the shared libraries"
7979

8080

8181
def test_myplex_resource(account):

tests/test_video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def test_video_Movie_attrs(movies):
101101
assert [i.tag for i in movie.directors] == ['Nina Paley']
102102
assert movie.duration >= 160000
103103
assert movie.fields == []
104-
assert sorted([i.tag for i in movie.genres]) == ['Animation', 'Drama', 'Music', 'Romance']
104+
assert sorted([i.tag for i in movie.genres]) == ['Animation', 'Comedy', 'Fantasy', 'Musical', 'Romance']
105105
assert movie.guid == 'com.plexapp.agents.imdb://tt1172203?lang=en'
106106
assert utils.is_metadata(movie._initpath)
107107
assert utils.is_metadata(movie.key)

0 commit comments

Comments
 (0)