mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Fix tests on windows
This commit is contained in:
parent
b8a4785633
commit
2e6366a766
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user