From 404b4f06341862fabc79215c282d10793cf618c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kyle=20Bl=C3=B6m?= Date: Thu, 26 Jan 2017 18:37:51 -0800 Subject: [PATCH] PEP8 format changes --- tests/test_requests.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_requests.py b/tests/test_requests.py index b2ee8e78..9450630a 100644 --- a/tests/test_requests.py +++ b/tests/test_requests.py @@ -112,7 +112,8 @@ 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' @@ -150,7 +151,8 @@ def test_post_json(): payload = {'test': 'OK'} headers = {'content-type': 'application/json'} - request, response = sanic_endpoint_test(app, data=json_dumps(payload), headers=headers) + request, response = sanic_endpoint_test( + app, data=json_dumps(payload), headers=headers) assert request.json.get('test') == 'OK' assert response.text == 'OK'