diff --git a/test/util.py b/test/util.py
index <HASH>..<HASH> 100644
--- a/test/util.py
+++ b/test/util.py
@@ -6,7 +6,7 @@ from ykman.cli.__main__ import cli
 
 def ykman_cli(*argv, **kwargs):
     runner = CliRunner()
-    result = runner.invoke(cli, list(argv), **kwargs, obj={})
+    result = runner.invoke(cli, list(argv), obj={}, **kwargs)
     if result.exit_code != 0:
         click.echo(result.output)
         traceback.print_tb(result.exc_info[2])
Try to fix python 2