diff options
author | Jan Cholasta <jcholast@redhat.com> | 2014-03-27 14:04:00 +0100 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-04-18 14:59:20 +0200 |
commit | 4314d02fbf9ef1cb9543ecf76a8d22e79d250214 (patch) | |
tree | 8c6ac601e881712e8cf7c25fce420026a3762553 /ipatests/test_xmlrpc/test_netgroup_plugin.py | |
parent | c644b47492e22370bc71f57e5ac46b50f9b4e247 (diff) | |
download | freeipa-4314d02fbf9ef1cb9543ecf76a8d22e79d250214.tar.gz freeipa-4314d02fbf9ef1cb9543ecf76a8d22e79d250214.tar.xz freeipa-4314d02fbf9ef1cb9543ecf76a8d22e79d250214.zip |
Allow primary keys to use different type than unicode.
Also return list of primary keys instead of a single unicode CSV value from
LDAPDelete-based commands.
This introduces a new capability 'primary_key_types' for backward
compatibility with old clients.
Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipatests/test_xmlrpc/test_netgroup_plugin.py')
-rw-r--r-- | ipatests/test_xmlrpc/test_netgroup_plugin.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ipatests/test_xmlrpc/test_netgroup_plugin.py b/ipatests/test_xmlrpc/test_netgroup_plugin.py index dd3a8b84c..162879884 100644 --- a/ipatests/test_xmlrpc/test_netgroup_plugin.py +++ b/ipatests/test_xmlrpc/test_netgroup_plugin.py @@ -200,9 +200,9 @@ class test_netgroup(Declarative): desc='Delete %r' % netgroup_single, command=('netgroup_del', [netgroup_single], {}), expected=dict( - value=netgroup_single, + value=[netgroup_single], summary=u'Deleted netgroup "%s"' % netgroup_single, - result=dict(failed=u''), + result=dict(failed=[]), ), ), @@ -1281,9 +1281,9 @@ class test_netgroup(Declarative): desc='Delete %r' % netgroup1, command=('netgroup_del', [netgroup1], {}), expected=dict( - value=netgroup1, + value=[netgroup1], summary=u'Deleted netgroup "%s"' % netgroup1, - result=dict(failed=u''), + result=dict(failed=[]), ), ), |