From 2ff07b958079e5a8972b2e7a06881521361746cc Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 14 Feb 2017 09:33:49 +0100 Subject: [PATCH] Fix test, nested lists are no longer converted to nested tuples Reviewed-By: Martin Basti Reviewed-By: Jan Cholasta --- ipatests/test_ipaserver/test_rpcserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipatests/test_ipaserver/test_rpcserver.py b/ipatests/test_ipaserver/test_rpcserver.py index 7ee94d34a..d8f6015d4 100644 --- a/ipatests/test_ipaserver/test_rpcserver.py +++ b/ipatests/test_ipaserver/test_rpcserver.py @@ -257,7 +257,7 @@ class test_jsonserver(PluginTester): assert unicode(e.error) == 'params[1] (aka options) must be a dict' # Test with valid values: - args = (u'jdoe', ) + args = [u'jdoe'] options = dict(givenname=u'John', sn='Doe') d = dict(method=u'user_add', params=(args, options), id=18) assert o.unmarshal(json.dumps(d)) == (u'user_add', args, options, 18)