mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 22:24:12 +00:00
fix test_settinngs_get
This commit is contained in:
parent
b01d808dc9
commit
350f43773a
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue