test_permission_plugin: limit results in targetfilter find test

The test was finding recently added default permissions. Limit it to
the test permission only.

Part of the work for: https://fedorahosted.org/freeipa/ticket/3566
This commit is contained in:
Petr Viktorin 2014-06-04 11:39:16 +02:00
parent a2aca68f63
commit 3974c75053

View File

@ -2432,7 +2432,7 @@ class test_permission_targetfilter(Declarative):
dict(
desc='Search for %r using %s %s' % (permission1, value_name, option_name),
command=(
'permission_find', [],
'permission_find', [permission1],
{option_name: value, 'all': True}
),
expected=dict(