mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
Fix windows parse_args test
This commit is contained in:
parent
8fee5db675
commit
fcc1416ffd
@ -35,7 +35,7 @@ class TestParseCommand:
|
|||||||
def test_parse_windows(self):
|
def test_parse_windows(self):
|
||||||
with tutils.chdir(tutils.test_data.dirname):
|
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") == ("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():
|
def test_load_script():
|
||||||
|
Loading…
Reference in New Issue
Block a user