summaryrefslogtreecommitdiffstats
path: root/net/tools/testserver/device_management.py
diff options
context:
space:
mode:
Diffstat (limited to 'net/tools/testserver/device_management.py')
-rw-r--r--net/tools/testserver/device_management.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tools/testserver/device_management.py b/net/tools/testserver/device_management.py
index c4ec75e..b62b2c0 100644
--- a/net/tools/testserver/device_management.py
+++ b/net/tools/testserver/device_management.py
@@ -352,7 +352,7 @@ class RequestHandler(object):
if field.type == field.TYPE_BOOL:
assert type(field_value) == bool
elif field.type == field.TYPE_STRING:
- assert type(field_value) == str
+ assert type(field_value) == str or type(field_value) == unicode
elif field.type == field.TYPE_INT64:
assert type(field_value) == int
elif (field.type == field.TYPE_MESSAGE and