From 095d0cb7afc3d404829d87bc894d8691be2228ef Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Fri, 29 Apr 2016 16:26:04 +0200 Subject: 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 Reviewed-By: Petr Spacek --- ipatests/test_xmlrpc/test_stageuser_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipatests/test_xmlrpc/test_stageuser_plugin.py') 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') -- cgit