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>
This commit is contained in:
Petr Viktorin 2014-06-24 12:24:40 +02:00 committed by Martin Kosek
parent 175b19bbf8
commit 628bed8673

View File

@ -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,
),
),