aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_workbench.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/tests/test_workbench.py')
-rw-r--r--mediagoblin/tests/test_workbench.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/tests/test_workbench.py b/mediagoblin/tests/test_workbench.py
index f3ff57ed..3202e698 100644
--- a/mediagoblin/tests/test_workbench.py
+++ b/mediagoblin/tests/test_workbench.py
@@ -69,7 +69,7 @@ class TestWorkbench(object):
filepath = ['dir1', 'dir2', 'ourfile.txt']
with this_storage.get_file(filepath, 'w') as our_file:
- our_file.write('Our file')
+ our_file.write(b'Our file')
# with a local file storage
filename = this_workbench.localized_file(this_storage, filepath)
@@ -83,7 +83,7 @@ class TestWorkbench(object):
# ... write a brand new file, again ;)
with this_storage.get_file(filepath, 'w') as our_file:
- our_file.write('Our file')
+ our_file.write(b'Our file')
filename = this_workbench.localized_file(this_storage, filepath)
assert filename == os.path.join(