aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2019-11-18 03:54:18 +0100
committerMaximilian Hils <git@maximilianhils.com>2019-11-18 03:54:18 +0100
commitda0755106d76a9f45f281d2e65df38f83ae888c7 (patch)
tree6d65cde4de3496f0d6100bb5a76182be4b9e47f3 /test
parentf75a95acea6772457b25395b0fdd2c97bfebb936 (diff)
downloadmitmproxy-da0755106d76a9f45f281d2e65df38f83ae888c7.tar.gz
mitmproxy-da0755106d76a9f45f281d2e65df38f83ae888c7.tar.bz2
mitmproxy-da0755106d76a9f45f281d2e65df38f83ae888c7.zip
adjust test
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/test_command.py2
1 files changed, 1 insertions, 1 deletions
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),
],
],
[