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:
Tibor Dudlák authored and Pavel Vomacka committed 2017-07-07 14:44:42 +02:00
1 parent e2e380e83b
commit 17f03a7952
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -6477,7 +6477,7 @@ output: PrimaryKey('value')
command: whoami/1
args: 0,1,3
option: Str('version?')
output: Output('arguments', type=[<type 'list'>])
output: Output('arguments', type=[<type 'list'>, <type 'tuple'>])
output: Output('command', type=[<type 'unicode'>])
output: Output('object', type=[<type 'unicode'>])
default: aci/1