diff options
Diffstat (limited to 'tests/test_xmlrpc/test_hostgroup_plugin.py')
-rw-r--r-- | tests/test_xmlrpc/test_hostgroup_plugin.py | 4 |
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 bea3b3d6..6e26e099 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', []) == [] |