Commit 98e2e881 authored by Vincent Pelletier's avatar Vincent Pelletier

test: Fix wsgi.input type in one testWSGI case.

parent b5141cc2
......@@ -1872,7 +1872,7 @@ class CaucaseTest(unittest.TestCase):
'PATH_INFO': '/cors',
'REQUEST_METHOD': 'POST',
'CONTENT_TYPE': 'application/x-www-form-urlencoded',
'wsgi.input': StringIO(urlencode(input_dict)),
'wsgi.input': StringIO(utils.toUnicode(urlencode(input_dict))),
}
base_request_reader_dict.update(kw)
return base_request_reader_dict
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment