This commit is contained in:
Michael Shepanski 2017-09-29 19:37:49 -04:00
parent f974ce5ad2
commit 9c1b81b161

View file

@ -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)