Patch attached. Applies on ipa-4-3 as well. -- Milan Kubik
From 0f0433b360f65ffd4431948d1efed4428c39feae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20Kub=C3=ADk?= <mku...@redhat.com> Date: Mon, 15 Feb 2016 16:54:34 +0100 Subject: [PATCH] ipatests: extend permission plugin test with new expected output --- ipatests/test_xmlrpc/test_permission_plugin.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ipatests/test_xmlrpc/test_permission_plugin.py b/ipatests/test_xmlrpc/test_permission_plugin.py index 01294665814fc667f932272ee8bc3077583b67df..d641a2d078e0f275a44bbc539aef1352c023ae9b 100644 --- a/ipatests/test_xmlrpc/test_permission_plugin.py +++ b/ipatests/test_xmlrpc/test_permission_plugin.py @@ -816,6 +816,14 @@ 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 +879,14 @@ 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' + }, + ), ), ), -- 2.7.1
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code