diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-07-15 10:33:51 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-07-15 10:33:51 +1200 |
commit | fcc1416ffd82a3497bf17323b4bb467e7e4435f4 (patch) | |
tree | b85c9313a94090ec64cc2af83ae66a88b3e1bbc3 /test | |
parent | 8fee5db675744a6cc9a3462b7d1261e0b940545c (diff) | |
download | mitmproxy-fcc1416ffd82a3497bf17323b4bb467e7e4435f4.tar.gz mitmproxy-fcc1416ffd82a3497bf17323b4bb467e7e4435f4.tar.bz2 mitmproxy-fcc1416ffd82a3497bf17323b4bb467e7e4435f4.zip |
Fix windows parse_args test
Diffstat (limited to 'test')
-rw-r--r-- | test/mitmproxy/builtins/test_script.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mitmproxy/builtins/test_script.py b/test/mitmproxy/builtins/test_script.py index 7c9787f8..5747912d 100644 --- a/test/mitmproxy/builtins/test_script.py +++ b/test/mitmproxy/builtins/test_script.py @@ -35,7 +35,7 @@ class TestParseCommand: def test_parse_windows(self): with tutils.chdir(tutils.test_data.dirname): assert script.parse_command("data\\scripts\\a.py") == ("data\\scripts\\a.py", []) - assert script.parse_command("data\\scripts\\a.py 'foo \\ bar'") == ("data\\scripts\\a.py", 'foo \\ bar', []) + assert script.parse_command("data\\scripts\\a.py 'foo \\ bar'") == ("data\\scripts\\a.py", ['foo \\ bar']) def test_load_script(): |