From db85ea32c185fee270ed900b2c60353b234454d8 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Fri, 11 Apr 2014 12:32:08 +0200 Subject: test_realmdomains_plugin: Add default ACI to expected output Since realmdomains is only one entry, _show with --all will return the ACI on it. Add it to expected output. Reviewed-By: Martin Kosek --- ipatests/test_xmlrpc/test_realmdomains_plugin.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ipatests/test_xmlrpc/test_realmdomains_plugin.py b/ipatests/test_xmlrpc/test_realmdomains_plugin.py index 8abb53e48..1d4dda3d2 100644 --- a/ipatests/test_xmlrpc/test_realmdomains_plugin.py +++ b/ipatests/test_xmlrpc/test_realmdomains_plugin.py @@ -64,6 +64,15 @@ class test_realmdomains(Declarative): associateddomain=[our_domain], cn=[cn], objectclass=objectclasses.realmdomains, + aci=[ + u'(targetattr = "associateddomain || cn || ' + u'objectclass")' + u'(targetfilter = "(objectclass=domainrelatedobject)")' + u'(version 3.0;acl ' + u'"permission:System: Read Realm Domains";' + u'allow (read,compare,search) ' + u'userdn = "ldap:///all";)' + ], ), ), ), -- cgit