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_host_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_host_plugin.py')
-rw-r--r-- | ipatests/test_xmlrpc/test_host_plugin.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ipatests/test_xmlrpc/test_host_plugin.py b/ipatests/test_xmlrpc/test_host_plugin.py index af42ee54d..6a9e9f17c 100644 --- a/ipatests/test_xmlrpc/test_host_plugin.py +++ b/ipatests/test_xmlrpc/test_host_plugin.py @@ -585,9 +585,9 @@ class test_host(Declarative): desc='Delete %r' % fqdn1, command=('host_del', [fqdn1], {}), expected=dict( - value=fqdn1, + value=[fqdn1], summary=u'Deleted host "%s"' % fqdn1, - result=dict(failed=u''), + result=dict(failed=[]), ), ), @@ -661,9 +661,9 @@ class test_host(Declarative): desc='Delete using host name %r' % short1, command=('host_del', [short1], {}), expected=dict( - value=short1, + value=[short1], summary=u'Deleted host "%s"' % short1, - result=dict(failed=u''), + result=dict(failed=[]), ), ), @@ -831,9 +831,9 @@ class test_host(Declarative): desc='Delete %r' % fqdn3, command=('host_del', [fqdn3], {}), expected=dict( - value=fqdn3, + value=[fqdn3], summary=u'Deleted host "%s"' % fqdn3, - result=dict(failed=u''), + result=dict(failed=[]), ), ), |