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