mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-24 12:43:06 +00:00
cleaning up test_settings.test_settings_get test
py2 support has been dropped. returning str instead of bytes now due to 5045ddc
This commit is contained in:
parent
56b6138ca7
commit
01239046c7
1 changed files with 1 additions and 5 deletions
|
@ -3,12 +3,8 @@ def test_settings_group(plex):
|
|||
|
||||
|
||||
def test_settings_get(plex):
|
||||
# This is the value since it we havnt set any friendlyname
|
||||
# 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
|
||||
# Should not be bytes, fix this when py2 is dropped
|
||||
assert isinstance(value, bytes)
|
||||
assert isinstance(value, str)
|
||||
|
||||
|
||||
def test_settings_set(plex):
|
||||
|
|
Loading…
Reference in a new issue