mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 22:24:12 +00:00
Fix test
This commit is contained in:
parent
f974ce5ad2
commit
9c1b81b161
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ def test_server_account(plex):
|
|||
assert account.signInState == 'ok'
|
||||
assert isinstance(account.subscriptionActive, bool)
|
||||
if account.subscriptionActive: assert len(account.subscriptionFeatures)
|
||||
else: assert account.subscriptionFeatures == ['mediaproviders-news-platform-specific']
|
||||
else: assert sorted(account.subscriptionFeatures) == ['download_certificates', 'federated-auth', 'news']
|
||||
assert account.subscriptionState == 'Active' if account.subscriptionActive else 'Unknown'
|
||||
assert re.match(utils.REGEX_EMAIL, account.username)
|
||||
|
||||
|
|
Loading…
Reference in a new issue