summaryrefslogtreecommitdiffstats
path: root/tests/test_xmlrpc/test_hostgroup_plugin.py
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2009-07-02 16:56:51 +0200
committerRob Crittenden <rcritten@redhat.com>2009-07-02 13:33:05 -0400
commit48d666979695ddcf1e0856588e394833e3995f66 (patch)
tree4afccb641a9b69eb68a6564691a8664e6aabec97 /tests/test_xmlrpc/test_hostgroup_plugin.py
parent34b5b0d56363920d14062ef5816cd70efb145537 (diff)
downloadfreeipa-48d666979695ddcf1e0856588e394833e3995f66.tar.gz
freeipa-48d666979695ddcf1e0856588e394833e3995f66.tar.xz
freeipa-48d666979695ddcf1e0856588e394833e3995f66.zip
Fix unit tests to handle new group-{add, del}-member semantics.
Diffstat (limited to 'tests/test_xmlrpc/test_hostgroup_plugin.py')
-rw-r--r--tests/test_xmlrpc/test_hostgroup_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_xmlrpc/test_hostgroup_plugin.py b/tests/test_xmlrpc/test_hostgroup_plugin.py
index bea3b3d6d..6e26e0992 100644
--- a/tests/test_xmlrpc/test_hostgroup_plugin.py
+++ b/tests/test_xmlrpc/test_hostgroup_plugin.py
@@ -64,7 +64,7 @@ class test_hostgroup(XMLRPC_test):
"""
kw = {}
kw['hosts'] = self.host_fqdn
- (total, res) = api.Command['hostgroup_add_member'](self.cn, **kw)
+ (total, failed, res) = api.Command['hostgroup_add_member'](self.cn, **kw)
assert res[1].get('member', []) != []
def test_4_hostgroup_show(self):
@@ -107,7 +107,7 @@ class test_hostgroup(XMLRPC_test):
"""
kw = {}
kw['hosts'] = self.host_fqdn
- (total, res) = api.Command['hostgroup_del_member'](self.cn, **kw)
+ (total, failed, res) = api.Command['hostgroup_del_member'](self.cn, **kw)
assert res
assert res[1].get('member', []) == []