1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-13 20:08:55 +00:00

Fix tests on windows

This commit is contained in:
ziajka 2017-06-20 13:46:03 +02:00
parent b8a4785633
commit 2e6366a766

View File

@ -254,7 +254,7 @@ def test_update_startup_script_h(vm):
def test_update_startup_script_with_escaping_characters_in_name(vm):
vm.startup_script = "set pcname initial-name\n"
vm.name = "test\\"
assert vm.startup_script == "set pcname test\\\n"
assert vm.startup_script == "set pcname test\\{}".format(os.linesep)
def test_get_startup_script(vm):