From 2e6366a766dcfbde80e2facee53b66353eaa6314 Mon Sep 17 00:00:00 2001 From: ziajka Date: Tue, 20 Jun 2017 13:46:03 +0200 Subject: [PATCH] Fix tests on windows --- tests/compute/vpcs/test_vpcs_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/compute/vpcs/test_vpcs_vm.py b/tests/compute/vpcs/test_vpcs_vm.py index e08f537f..edeea297 100644 --- a/tests/compute/vpcs/test_vpcs_vm.py +++ b/tests/compute/vpcs/test_vpcs_vm.py @@ -254,7 +254,7 @@ def test_update_startup_script_h(vm): def test_update_startup_script_with_escaping_characters_in_name(vm): vm.startup_script = "set pcname initial-name\n" 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):