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

Fix tests on Windows

This commit is contained in:
Julien Duponchelle 2015-05-21 12:01:37 +02:00
parent 1f931d56c7
commit e62dd1a572

View File

@ -202,7 +202,7 @@ def test_update_startup_script_h(vm):
def test_get_startup_script(vm):
content = os.linesep.join(["echo GNS3 VPCS", "ip 192.168.1.2"])
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):