projects
/
mediagoblin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix #1025 - Make API IDs IRIs
[mediagoblin.git]
/
mediagoblin
/
tests
/
test_workbench.py
diff --git
a/mediagoblin/tests/test_workbench.py
b/mediagoblin/tests/test_workbench.py
index 6695618b562973d43f2830db8919c5c7338d2097..f3ff57ed669687f0f8d4ef179cd8bcb73da7b0c8 100644
(file)
--- a/
mediagoblin/tests/test_workbench.py
+++ b/
mediagoblin/tests/test_workbench.py
@@
-50,7
+50,7
@@
class TestWorkbench(object):
# kill a workbench
this_workbench = self.workbench_manager.create()
tmpfile_name = this_workbench.joinpath('temp.txt')
- tmpfile =
file
(tmpfile_name, 'w')
+ tmpfile =
open
(tmpfile_name, 'w')
with tmpfile:
tmpfile.write('lollerskates')