summaryrefslogtreecommitdiffstats
path: root/ipatests/test_xmlrpc/test_hostgroup_plugin.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2014-03-27 14:04:00 +0100
committerPetr Viktorin <pviktori@redhat.com>2014-04-18 14:59:20 +0200
commit4314d02fbf9ef1cb9543ecf76a8d22e79d250214 (patch)
tree8c6ac601e881712e8cf7c25fce420026a3762553 /ipatests/test_xmlrpc/test_hostgroup_plugin.py
parentc644b47492e22370bc71f57e5ac46b50f9b4e247 (diff)
downloadfreeipa-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_hostgroup_plugin.py')
-rw-r--r--ipatests/test_xmlrpc/test_hostgroup_plugin.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/ipatests/test_xmlrpc/test_hostgroup_plugin.py b/ipatests/test_xmlrpc/test_hostgroup_plugin.py
index b610979ec..017d8ad2d 100644
--- a/ipatests/test_xmlrpc/test_hostgroup_plugin.py
+++ b/ipatests/test_xmlrpc/test_hostgroup_plugin.py
@@ -261,9 +261,9 @@ class test_hostgroup(Declarative):
desc='Delete %r' % hostgroup1,
command=('hostgroup_del', [hostgroup1], {}),
expected=dict(
- value=hostgroup1,
+ value=[hostgroup1],
summary=u'Deleted hostgroup "testhostgroup1"',
- result=dict(failed=u''),
+ result=dict(failed=[]),
),
),
@@ -293,9 +293,9 @@ class test_hostgroup(Declarative):
desc='Delete %r' % hostgroup_single,
command=('hostgroup_del', [hostgroup_single], {}),
expected=dict(
- value=hostgroup_single,
+ value=[hostgroup_single],
summary=u'Deleted hostgroup "a"',
- result=dict(failed=u''),
+ result=dict(failed=[]),
),
),
@@ -304,9 +304,9 @@ class test_hostgroup(Declarative):
desc='Delete host %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=[]),
),
)