Final fixes for windows test suite

This commit is contained in:
Julien Duponchelle committed 2015-04-27 23:28:12 +02:00
1 parent 3f26ada081
commit e7ae1776f4
2 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -202,8 +202,8 @@ def test_get_startup_script_using_default_script(vm):
vm._script_file = None
filepath = os.path.join(vm.working_dir, 'startup.vpc')
with open(filepath, 'w+') as f:
assert f.write(content)
with open(filepath, 'wb+') as f:
assert f.write(content.encode("utf-8"))
assert vm.startup_script == content
assert vm.script_file == filepath