Fix windows parse_args test

This commit is contained in:
Aldo Cortesi 2016-07-15 10:33:51 +12:00
parent 8fee5db675
commit fcc1416ffd

View File

@ -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():