summaryrefslogtreecommitdiffstats
path: root/ipatests
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests')
-rw-r--r--ipatests/test_xmlrpc/test_old_permission_plugin.py14
-rw-r--r--ipatests/test_xmlrpc/test_permission_plugin.py18
2 files changed, 32 insertions, 0 deletions
diff --git a/ipatests/test_xmlrpc/test_old_permission_plugin.py b/ipatests/test_xmlrpc/test_old_permission_plugin.py
index 9e4b561a6..09f43fee8 100644
--- a/ipatests/test_xmlrpc/test_old_permission_plugin.py
+++ b/ipatests/test_xmlrpc/test_old_permission_plugin.py
@@ -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'
+ },),
),
),
diff --git a/ipatests/test_xmlrpc/test_permission_plugin.py b/ipatests/test_xmlrpc/test_permission_plugin.py
index 012946658..8026e8436 100644
--- a/ipatests/test_xmlrpc/test_permission_plugin.py
+++ b/ipatests/test_xmlrpc/test_permission_plugin.py
@@ -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'
+ },
+ ),
),
),