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 <mkosek@redhat.com>
This commit is contained in:
Petr Viktorin
2014-04-11 12:32:08 +02:00
committed by Martin Kosek
parent 3db9ce3204
commit db85ea32c1

View File

@@ -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";)'
],
),
),
),