diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2016-02-11 11:36:05 -0800 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2016-02-11 11:36:05 -0800 |
commit | cd4a7492cd2fd7ae332ecdaaec93a2bc3be9cf4e (patch) | |
tree | 476a9efb5ed004787df6c43d1e6b5e7fc1359945 | |
parent | 64b989a756a2c8b1af00e905ab13915bb2df3e13 (diff) | |
download | mediagoblin-cd4a7492cd2fd7ae332ecdaaec93a2bc3be9cf4e.tar.lz mediagoblin-cd4a7492cd2fd7ae332ecdaaec93a2bc3be9cf4e.tar.xz mediagoblin-cd4a7492cd2fd7ae332ecdaaec93a2bc3be9cf4e.zip |
Fixing one more bytes vs string battle in Python 3
-rw-r--r-- | mediagoblin/tests/test_workbench.py | 4 |
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( |