fix test_settinngs_get

This commit is contained in:
Hellowlol 2020-04-16 01:12:17 +02:00
parent b01d808dc9
commit 350f43773a

View file

@ -8,7 +8,8 @@ def test_settings_get(plex):
# plex just default to computer name but it NOT in the settings.
# check this one. why is this bytes instead of string.
value = plex.settings.get('FriendlyName').value
assert value or len(value)
# Should not be bytes, fix this when py2 is dropped
assert isinstance(value, bytes)
def test_settings_set(plex):