diff --git a/test/mitmproxy/test_command.py b/test/mitmproxy/test_command.py index 2a1dfd088..a34a8cf6b 100644 --- a/test/mitmproxy/test_command.py +++ b/test/mitmproxy/test_command.py @@ -168,7 +168,7 @@ class TestCommand: ], [ command.CommandParameter('cmd', mitmproxy.types.Cmd), - command.CommandParameter('*args', mitmproxy.types.CmdArgs), + command.CommandParameter('args', mitmproxy.types.CmdArgs, kind=inspect.Parameter.VAR_POSITIONAL), ], ], [