mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
whoami.py: Type error when running tests
While test run the TypeError occured in whoami.validate_output(). There should be 'tuple' type in output too. Fixes: https://pagure.io/freeipa/issue/7050 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
committed by
Pavel Vomacka
parent
e2e380e83b
commit
17f03a7952
@@ -87,7 +87,8 @@ class whoami(Command):
|
||||
has_output = (
|
||||
output.Output('object', unicode, _('Object class name')),
|
||||
output.Output('command', unicode, _('Function to get details')),
|
||||
output.Output('arguments', list, _('Arguments to details function')),
|
||||
output.Output('arguments', (list, tuple),
|
||||
_('Arguments to details function')),
|
||||
)
|
||||
|
||||
def execute(self, **options):
|
||||
|
||||
Reference in New Issue
Block a user