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):
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):