From da0755106d76a9f45f281d2e65df38f83ae888c7 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 18 Nov 2019 03:54:18 +0100 Subject: adjust test --- test/mitmproxy/test_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/mitmproxy/test_command.py b/test/mitmproxy/test_command.py index 2a1dfd08..a34a8cf6 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), ], ], [ -- cgit v1.2.3