Fix value error for query string test

This commit is contained in:
Eli Uriegas 2016-11-05 13:12:55 -05:00
parent 3a1ef6bef2
commit 3a2eeb9709

View File

@ -56,7 +56,7 @@ def test_query_string():
async def handler(request): async def handler(request):
return text('OK') 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('test1') == '1'
assert request.args.get('test2') == 'false' assert request.args.get('test2') == 'false'