Merge pull request #141 from seemethere/fix_query_tests

Fix value error for query string test
This commit is contained in:
Eli Uriegas 2016-11-05 12:16:13 -06:00 committed by GitHub
commit 01a013b48a

View File

@ -56,7 +56,7 @@ def test_query_string():
async def handler(request):
return text('OK')
request, response = sanic_endpoint_test(app, params=[("test1", 1), ("test2", "false"), ("test2", "true")])
request, response = sanic_endpoint_test(app, params=[("test1", "1"), ("test2", "false"), ("test2", "true")])
assert request.args.get('test1') == '1'
assert request.args.get('test2') == 'false'