diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-07-01 15:32:31 -0400 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2011-07-19 13:06:16 +0200 |
commit | 1dd9e1407361bdd6ed337c70dcb1d209ce034cb6 (patch) | |
tree | 1b81a20a3835de965f40f35195ea22fbbe731afc /tests/test_xmlrpc/test_netgroup_plugin.py | |
parent | c09f116f4331175b3fb01f0bd62e78ef47fab716 (diff) | |
download | freeipa-1dd9e1407361bdd6ed337c70dcb1d209ce034cb6.tar.gz freeipa-1dd9e1407361bdd6ed337c70dcb1d209ce034cb6.tar.xz freeipa-1dd9e1407361bdd6ed337c70dcb1d209ce034cb6.zip |
Optionally wait for 389-ds postop plugins to complete
Add a new command that lets you wait for an attribute to appear in
a value. Using this you can do things like wait for a managed entry
to be created, adding a new objectclass to the parent entry.
This is controlled by a new booleon option, wait_for_attr, defaulting
to False.
https://fedorahosted.org/freeipa/ticket/1144
Diffstat (limited to 'tests/test_xmlrpc/test_netgroup_plugin.py')
-rw-r--r-- | tests/test_xmlrpc/test_netgroup_plugin.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_xmlrpc/test_netgroup_plugin.py b/tests/test_xmlrpc/test_netgroup_plugin.py index 47256e486..fcb3b06ac 100644 --- a/tests/test_xmlrpc/test_netgroup_plugin.py +++ b/tests/test_xmlrpc/test_netgroup_plugin.py @@ -183,6 +183,8 @@ class test_netgroup(Declarative): cn=[hostgroup1], objectclass=objectclasses.hostgroup, description=[u'Test hostgroup 1'], + mepmanagedentry=['cn=%s,cn=ng,cn=alt,%s' % (hostgroup1, api +.env.basedn)], ipauniqueid=[fuzzy_uuid], ), ), @@ -212,6 +214,9 @@ class test_netgroup(Declarative): cn=[u'Test User1'], initials=[u'TU'], ipauniqueid=[fuzzy_uuid], + krbpwdpolicyreference=[u'cn=global_policy,cn=%s,cn=kerberos,%s' % (api.env.realm, api.env.basedn)], + mepmanagedentry=[u'cn=%s,cn=groups,cn=accounts,%s' % (user1, api.env.basedn)], + memberof_group=[u'ipausers'], dn=u'uid=%s,cn=users,cn=accounts,%s' % (user1, api.env.basedn), ), ), @@ -240,6 +245,9 @@ class test_netgroup(Declarative): cn=[u'Test User2'], initials=[u'TU'], ipauniqueid=[fuzzy_uuid], + krbpwdpolicyreference=[u'cn=global_policy,cn=%s,cn=kerberos,%s' % (api.env.realm, api.env.basedn)], + mepmanagedentry=[u'cn=%s,cn=groups,cn=accounts,%s' % (user2, api.env.basedn)], + memberof_group=[u'ipausers'], dn=u'uid=%s,cn=users,cn=accounts,%s' % (user2, api.env.basedn), ), ), |