diff options
-rw-r--r-- | tests/test_xmlrpc/test_hbac_plugin.py | 8 | ||||
-rw-r--r-- | tests/test_xmlrpc/test_sudorule_plugin.py | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/test_xmlrpc/test_hbac_plugin.py b/tests/test_xmlrpc/test_hbac_plugin.py index 29e9f6c48..3985b61cf 100644 --- a/tests/test_xmlrpc/test_hbac_plugin.py +++ b/tests/test_xmlrpc/test_hbac_plugin.py @@ -185,7 +185,7 @@ class test_hbac(XMLRPC_test): """ ret = api.Command['user_show'](self.test_user, all=True) entry = ret['result'] - assert_attr_equal(entry, 'memberof_HBAC rule', self.rule_name) + assert_attr_equal(entry, 'memberof_hbacrule', self.rule_name) def test_9_b_show_group(self): """ @@ -194,7 +194,7 @@ class test_hbac(XMLRPC_test): """ ret = api.Command['group_show'](self.test_group, all=True) entry = ret['result'] - assert_attr_equal(entry, 'memberof_HBAC rule', self.rule_name) + assert_attr_equal(entry, 'memberof_hbacrule', self.rule_name) def test_9_hbacrule_remove_user(self): """ @@ -239,7 +239,7 @@ class test_hbac(XMLRPC_test): """ ret = api.Command['host_show'](self.test_host, all=True) entry = ret['result'] - assert_attr_equal(entry, 'memberof_HBAC rule', self.rule_name) + assert_attr_equal(entry, 'memberof_hbacrule', self.rule_name) def test_a_hbacrule_show_hostgroup(self): """ @@ -248,7 +248,7 @@ class test_hbac(XMLRPC_test): """ ret = api.Command['hostgroup_show'](self.test_hostgroup, all=True) entry = ret['result'] - assert_attr_equal(entry, 'memberof_HBAC rule', self.rule_name) + assert_attr_equal(entry, 'memberof_hbacrule', self.rule_name) def test_b_hbacrule_remove_host(self): """ diff --git a/tests/test_xmlrpc/test_sudorule_plugin.py b/tests/test_xmlrpc/test_sudorule_plugin.py index 88c608d61..c428899c7 100644 --- a/tests/test_xmlrpc/test_sudorule_plugin.py +++ b/tests/test_xmlrpc/test_sudorule_plugin.py @@ -161,7 +161,7 @@ class test_sudorule(XMLRPC_test): """ ret = api.Command['user_show'](self.test_user, all=True) entry = ret['result'] - assert_attr_equal(entry, 'memberof_Sudo Rule', self.rule_name) + assert_attr_equal(entry, 'memberof_sudorule', self.rule_name) def test_9_b_show_group(self): """ @@ -170,7 +170,7 @@ class test_sudorule(XMLRPC_test): """ ret = api.Command['group_show'](self.test_group, all=True) entry = ret['result'] - assert_attr_equal(entry, 'memberof_Sudo Rule', self.rule_name) + assert_attr_equal(entry, 'memberof_sudorule', self.rule_name) def test_9_sudorule_remove_user(self): """ @@ -382,7 +382,7 @@ class test_sudorule(XMLRPC_test): """ ret = api.Command['host_show'](self.test_host, all=True) entry = ret['result'] - assert_attr_equal(entry, 'memberof_Sudo Rule', self.rule_name) + assert_attr_equal(entry, 'memberof_sudorule', self.rule_name) def test_a_sudorule_show_hostgroup(self): """ @@ -391,7 +391,7 @@ class test_sudorule(XMLRPC_test): """ ret = api.Command['hostgroup_show'](self.test_hostgroup, all=True) entry = ret['result'] - assert_attr_equal(entry, 'memberof_Sudo Rule', self.rule_name) + assert_attr_equal(entry, 'memberof_sudorule', self.rule_name) def test_b_sudorule_remove_host(self): """ |