1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-26 00:38:10 +00:00

Merge pull request #1077 from GNS3/fix-win-tests

Fix tests on windows
This commit is contained in:
Jeremy Grossmann 2017-06-20 14:36:01 +02:00 committed by GitHub
commit 6730cfe823

View File

@ -254,7 +254,7 @@ def test_update_startup_script_h(vm):
def test_update_startup_script_with_escaping_characters_in_name(vm): def test_update_startup_script_with_escaping_characters_in_name(vm):
vm.startup_script = "set pcname initial-name\n" vm.startup_script = "set pcname initial-name\n"
vm.name = "test\\" 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): def test_get_startup_script(vm):