mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
Fix test, nested lists are no longer converted to nested tuples
Reviewed-By: Martin Basti <mbasti@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
parent
3cac0378e9
commit
2ff07b9580
@ -257,7 +257,7 @@ class test_jsonserver(PluginTester):
|
|||||||
assert unicode(e.error) == 'params[1] (aka options) must be a dict'
|
assert unicode(e.error) == 'params[1] (aka options) must be a dict'
|
||||||
|
|
||||||
# Test with valid values:
|
# Test with valid values:
|
||||||
args = (u'jdoe', )
|
args = [u'jdoe']
|
||||||
options = dict(givenname=u'John', sn='Doe')
|
options = dict(givenname=u'John', sn='Doe')
|
||||||
d = dict(method=u'user_add', params=(args, options), id=18)
|
d = dict(method=u'user_add', params=(args, options), id=18)
|
||||||
assert o.unmarshal(json.dumps(d)) == (u'user_add', args, options, 18)
|
assert o.unmarshal(json.dumps(d)) == (u'user_add', args, options, 18)
|
||||||
|
Loading…
Reference in New Issue
Block a user