Commit 239bfcd1 by Xavier Antoviaque

Merge pull request #10 from dragonfi/correct-unittests

Fix unittest where handlers expect 'POST' requests
parents 8b7708be d3d4158f
......@@ -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