summaryrefslogtreecommitdiffstats
path: root/ipatests
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-06-24 12:24:40 +0200
committerMartin Kosek <mkosek@redhat.com>2014-06-24 13:53:41 +0200
commit628bed867376a1eccedcb9fe17d6a3c0e8394389 (patch)
tree7dbc6acd18946b85390082ff4be750806c26b11d /ipatests
parent175b19bbf85d0aff91c0dec278cb66fce98b469c (diff)
downloadfreeipa-628bed867376a1eccedcb9fe17d6a3c0e8394389.tar.gz
freeipa-628bed867376a1eccedcb9fe17d6a3c0e8394389.tar.xz
freeipa-628bed867376a1eccedcb9fe17d6a3c0e8394389.zip
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 <mkosek@redhat.com>
Diffstat (limited to 'ipatests')
-rw-r--r--ipatests/test_xmlrpc/test_permission_plugin.py4
1 files 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,
),
),