From 01681599ff63384e8f87680df641c178b3c2484f Mon Sep 17 00:00:00 2001 From: Channel Cat Date: Sat, 19 Nov 2016 18:13:02 -0800 Subject: [PATCH] Fixed new test error with aiohttp --- tests/test_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_requests.py b/tests/test_requests.py index 290c9b99..0098797d 100644 --- a/tests/test_requests.py +++ b/tests/test_requests.py @@ -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"}) assert request.args.get('test1') == '1' assert request.args.get('test2') == 'false'