1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Test ok on Windows

This commit is contained in:
Julien Duponchelle 2015-05-26 11:51:24 +02:00
parent f1ab682be9
commit 117630c887

View File

@ -200,9 +200,9 @@ 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 = "echo GNS3 VPCS\nip 192.168.1.2"
vm.startup_script = content vm.startup_script = content
assert vm.startup_script == "echo GNS3 VPCS\nip 192.168.1.2" assert vm.startup_script == os.linesep.join(["echo GNS3 VPCS","ip 192.168.1.2"])
def test_get_startup_script_using_default_script(vm): def test_get_startup_script_using_default_script(vm):