Implement nested netgroups and include summaries for the commands.

Replace the existing netgroup test cases with Declarative tests. This triples
the number of tests we were doing.

ticket 209
This commit is contained in:
Rob Crittenden
2010-10-29 11:32:03 -04:00
committed by Adam Young
parent 6df16f3a10
commit 03de1b89ca
5 changed files with 1043 additions and 330 deletions

View File

@@ -39,6 +39,10 @@ fuzzy_uuid = Fuzzy(
'^[0-9a-f]{8}-[0-9a-f]{8}-[0-9a-f]{8}-[0-9a-f]{8}$'
)
# Matches netgroup dn
fuzzy_netgroupdn = Fuzzy(
'ipauniqueid=[0-9a-f]{8}-[0-9a-f]{8}-[0-9a-f]{8}-[0-9a-f]{8},cn=ng,cn=alt,%s' % api.env.basedn
)
try:
if not api.Backend.xmlclient.isconnected():