Commit d3d4158f by dragonfi

Fix unittest where handlers expect 'POST' requests

parent 1ad3baf7
......@@ -24,6 +24,7 @@ logging.disable(logging.DEBUG)
def make_request(body):
request = Request.blank('/')
request.method = 'POST'
request.body = body.encode('utf-8')
return request
......
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