summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2013-06-06 11:02:33 +0200
committerHelmut Grohne <helmut@subdivi.de>2013-06-06 11:02:33 +0200
commita5634dea0d4f24d6f27ba5d7e50c773979eec93c (patch)
tree38abd9b291a65d386b4c4effbdabb24d6cfc3df3
parentae660ee64afb068efd61274853d9d3e05300446e (diff)
downloadwsgitools-a5634dea0d4f24d6f27ba5d7e50c773979eec93c.tar.gz
fix the py3k part of RequestLogWSGIFilterTest
-rwxr-xr-xtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.py b/test.py
index 946ee29..cf40b92 100755
--- a/test.py
+++ b/test.py
@@ -376,7 +376,7 @@ import gzip
class RequestLogWSGIFilterTest(unittest.TestCase):
def testSimple(self):
app = applications.StaticContent("200 Found",
- [("Content-Type", "text/plain")], "nothing")
+ [("Content-Type", "text/plain")], b"nothing")
log = io.StringIO()
logfilter = filters.RequestLogWSGIFilter.creator(log)
app = filters.WSGIFilterMiddleware(app, logfilter)