From 628bed867376a1eccedcb9fe17d6a3c0e8394389 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Tue, 24 Jun 2014 12:24:40 +0200 Subject: [PATCH] test_permission_plugin: Fix permission_find test for legacy permissions Most of the legacy permissions have been removed. Do not test that there are many of them. Reviewed-By: Martin Kosek --- ipatests/test_xmlrpc/test_permission_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipatests/test_xmlrpc/test_permission_plugin.py b/ipatests/test_xmlrpc/test_permission_plugin.py index ed2032b33..46e0f1f0e 100644 --- a/ipatests/test_xmlrpc/test_permission_plugin.py +++ b/ipatests/test_xmlrpc/test_permission_plugin.py @@ -2851,9 +2851,9 @@ class test_permission_legacy(Declarative): command=('permission_find', [], {'ipapermlocation': api.env.basedn}), expected=dict( - count=lambda n: n > 50, + count=15, truncated=False, - summary=lambda s: True, + summary=u'15 permissions matched', result=lambda s: True, ), ),