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:
blacktwin 2020-09-28 13:58:07 -04:00
parent 56b6138ca7
commit 01239046c7

View file

@ -3,12 +3,8 @@ def test_settings_group(plex):
def test_settings_get(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 value = plex.settings.get("FriendlyName").value
# Should not be bytes, fix this when py2 is dropped assert isinstance(value, str)
assert isinstance(value, bytes)
def test_settings_set(plex): def test_settings_set(plex):