Add a new objectclass, ipaObject, that will add a UUID to many IPA objects
ipaObject is defined as an auxiliary objectclass so it is up to the plugin author to ensure that the objectclass is included an a UUID generated. ipaUniqueId is a MUST attribute so if you include the objectclass you must ensure that the uuid is generated. This also fixes up some unrelated unit test failures.
This commit is contained in:
1 parent
dbeb409ebd
commit
c781e8a57d
16 files changed
+54
-31
No files matched your search
@@ -49,6 +49,7 @@ class test_taskgroup(XMLRPC_test):
|
||||
assert res
|
||||
assert_attr_equal(res, 'description', self.description)
|
||||
assert_attr_equal(res, 'cn', self.cn)
|
||||
assert_attr_equal(res, 'objectclass', 'ipaobject')
|
||||
|
||||
def test_2_add_rolegroup(self):
|
||||
"""
|
||||
@@ -124,7 +125,7 @@ class test_taskgroup(XMLRPC_test):
|
||||
"""
|
||||
kw = {}
|
||||
kw['groups'] = self.taskgroup_cn
|
||||
(total, failed, res) = api.Command['taskgroup_del_member'](self.cn, **kw)
|
||||
(total, failed, res) = api.Command['taskgroup_remove_member'](self.cn, **kw)
|
||||
assert total == 1
|
||||
|
||||
def test_9_taskgroup_del(self):
|
||||
|
||||
Reference in new issue
Block a user