mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 06:04:15 +00:00
test: fix test_audio_Audio_sonicallySimilar authenticated test (#1298)
* test: fix test_audio_Audio_sonicallySimilar authenticated test * Update tests/test_audio.py Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> --------- Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
This commit is contained in:
parent
c801268057
commit
0708821566
2 changed files with 2 additions and 2 deletions
|
@ -144,7 +144,7 @@ def account_plexpass(account):
|
|||
if not account.subscriptionActive:
|
||||
pytest.skip(
|
||||
"PlexPass subscription is not active, unable to test dashboard, movie extras, movie editions, "
|
||||
"or sync-stuff, be careful!"
|
||||
"sync-stuff, etc... be careful!"
|
||||
)
|
||||
return account
|
||||
|
||||
|
|
|
@ -444,7 +444,7 @@ def test_audio_Audio_section(artist, album, track):
|
|||
|
||||
|
||||
@pytest.mark.authenticated
|
||||
def test_audio_Audio_sonicallySimilar(artist):
|
||||
def test_audio_Audio_sonicallySimilar(account_plexpass, artist):
|
||||
similar_audio = artist.sonicallySimilar()
|
||||
assert isinstance(similar_audio, list)
|
||||
assert all(isinstance(i, type(artist)) for i in similar_audio)
|
||||
|
|
Loading…
Reference in a new issue