Skip to content

Commit 350f437

Browse files
committed
fix test_settinngs_get
1 parent b01d808 commit 350f437

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ def test_settings_get(plex):
88
# plex just default to computer name but it NOT in the settings.
99
# check this one. why is this bytes instead of string.
1010
value = plex.settings.get('FriendlyName').value
11-
assert value or len(value)
11+
# Should not be bytes, fix this when py2 is dropped
12+
assert isinstance(value, bytes)
1213

1314

1415
def test_settings_set(plex):

0 commit comments

Comments
 (0)