summaryrefslogtreecommitdiffstats
path: root/ipatests/test_xmlrpc/test_stageuser_plugin.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2016-04-29 16:26:04 +0200
committerMartin Basti <mbasti@redhat.com>2016-05-05 16:42:46 +0200
commit095d0cb7afc3d404829d87bc894d8691be2228ef (patch)
tree248048735fac54c2af7bcb3a5d97a70418bb925f /ipatests/test_xmlrpc/test_stageuser_plugin.py
parent890f83b0bbd5ec03397e817ed1282fa66efab7da (diff)
downloadfreeipa-095d0cb7afc3d404829d87bc894d8691be2228ef.tar.gz
freeipa-095d0cb7afc3d404829d87bc894d8691be2228ef.tar.xz
freeipa-095d0cb7afc3d404829d87bc894d8691be2228ef.zip
xmlrpc_test: Expect bytes rather than strings for binary attributes
The attributes krbextradata, krbprincipalkey, and userpassword contain binary data. Part of the work for: https://fedorahosted.org/freeipa/ticket/4985 Reviewed-By: Martin Basti <mbasti@redhat.com> Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'ipatests/test_xmlrpc/test_stageuser_plugin.py')
-rw-r--r--ipatests/test_xmlrpc/test_stageuser_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipatests/test_xmlrpc/test_stageuser_plugin.py b/ipatests/test_xmlrpc/test_stageuser_plugin.py
index 0ad017cbd..cfb7ab478 100644
--- a/ipatests/test_xmlrpc/test_stageuser_plugin.py
+++ b/ipatests/test_xmlrpc/test_stageuser_plugin.py
@@ -75,8 +75,8 @@ options_def = OrderedDict([
('random password', {u'random': True}),
])
-options_ok = options_def.values()
-options_ids = options_def.keys()
+options_ok = list(options_def.values())
+options_ids = list(options_def.keys())
@pytest.fixture(scope='class')