Fix tests on python 3.7
This commit is contained in:
parent
d296467050
commit
84f30e4bf9
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class UtilsTestCase(unittest.TestCase):
|
||||||
runner.invoke(cli, ["--help"])
|
runner.invoke(cli, ["--help"])
|
||||||
add_command.assert_has_calls(calls, any_order=True)
|
add_command.assert_has_calls(calls, any_order=True)
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
set(map(lambda item: item.args[0].name, add_command.call_args_list)),
|
set(map(lambda call_: call_[0][0].name, add_command.call_args_list)),
|
||||||
set(expected_names),
|
set(expected_names),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue