mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix unit tests for plugins using baseldap classes.
This commit is contained in:
parent
cbbfd16e9f
commit
5be9721292
@ -82,9 +82,7 @@ class test_hostgroup(XMLRPC_test):
|
|||||||
Test the `xmlrpc.hostgroup_find` method.
|
Test the `xmlrpc.hostgroup_find` method.
|
||||||
"""
|
"""
|
||||||
(res, truncated) = api.Command['hostgroup_find'](cn=self.cn, raw=True)
|
(res, truncated) = api.Command['hostgroup_find'](cn=self.cn, raw=True)
|
||||||
print res
|
assert res
|
||||||
print '%r' % res
|
|
||||||
assert res, '%r' % res
|
|
||||||
assert_attr_equal(res[0][1], 'description', self.description)
|
assert_attr_equal(res[0][1], 'description', self.description)
|
||||||
assert_attr_equal(res[0][1], 'cn', self.cn)
|
assert_attr_equal(res[0][1], 'cn', self.cn)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user