1
0
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:
Julien Duponchelle 2015-05-21 12:01:37 +02:00
parent 4d50d00b3e
commit 33bca1a85c

View File

@ -192,7 +192,7 @@ def test_update_startup_script_h(vm):
def test_get_startup_script(vm): def test_get_startup_script(vm):
content = os.linesep.join(["echo GNS3 VPCS", "ip 192.168.1.2"]) content = os.linesep.join(["echo GNS3 VPCS", "ip 192.168.1.2"])
vm.startup_script = content vm.startup_script = content
assert vm.startup_script == content assert vm.startup_script == "echo GNS3 VPCS\nip 192.168.1.2"
def test_get_startup_script_using_default_script(vm): def test_get_startup_script_using_default_script(vm):