mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: extend permission plugin test with new expected output
Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
bba2355631
commit
b32c9d639e
@ -524,6 +524,13 @@ class test_old_permission(Declarative):
|
||||
'subtree': u'ldap:///%s' % users_dn,
|
||||
},
|
||||
],
|
||||
messages=({
|
||||
'message': (u'Search result has been truncated to '
|
||||
'configured search limit.'),
|
||||
'code': 13017,
|
||||
'type': u'warning',
|
||||
'name': u'SearchResultTruncated'
|
||||
},),
|
||||
),
|
||||
),
|
||||
|
||||
@ -577,6 +584,13 @@ class test_old_permission(Declarative):
|
||||
DN(res['dn']).endswith(DN(api.env.container_permission,
|
||||
api.env.basedn)) and
|
||||
'ipapermission' in res['objectclass']],
|
||||
messages=({
|
||||
'message': (u'Search result has been truncated to '
|
||||
'configured search limit.'),
|
||||
'code': 13017,
|
||||
'type': u'warning',
|
||||
'name': u'SearchResultTruncated'
|
||||
},),
|
||||
),
|
||||
),
|
||||
|
||||
|
@ -816,6 +816,15 @@ class test_permission(Declarative):
|
||||
'ipapermlocation': [users_dn],
|
||||
},
|
||||
],
|
||||
messages=(
|
||||
{
|
||||
'message': (u'Search result has been truncated to '
|
||||
'configured search limit.'),
|
||||
'code': 13017,
|
||||
'type': u'warning',
|
||||
'name': u'SearchResultTruncated'
|
||||
},
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@ -871,6 +880,15 @@ class test_permission(Declarative):
|
||||
DN(res['dn']).endswith(DN(api.env.container_permission,
|
||||
api.env.basedn)) and
|
||||
'ipapermission' in res['objectclass']],
|
||||
messages=(
|
||||
{
|
||||
'message': (u'Search result has been truncated to '
|
||||
'configured search limit.'),
|
||||
'code': 13017,
|
||||
'type': u'warning',
|
||||
'name': u'SearchResultTruncated'
|
||||
},
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user