Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bugfix (python 3.x) in unitest

  • Loading branch information...
commit e4846a3ef8f25e7c8499698952a1b4af26d9bf78 1 parent 27aa5c0
@jedie authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 creole/tests/test_rest2html.py
View
4 creole/tests/test_rest2html.py
@@ -111,8 +111,10 @@ def test_include_disabled_by_default(self):
""", report_level=3) # Set log level to "error" to suppress the waring output
def test_include_enabled(self):
+ test_content = "Content from include file."
+ test_content = test_content.encode("utf-8")
with tempfile.NamedTemporaryFile() as temp:
- temp.write("Content from include file.")
+ temp.write(test_content)
temp.flush()
self.assert_rest2html("""
Enable include and test it.
Please sign in to comment.
Something went wrong with that request. Please try again.