From 8b08a370c54f490b04d45d129e901e4d58fb9d89 Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Sat, 11 Feb 2017 14:39:32 +0000 Subject: [PATCH] Remove todo --- sanic/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanic/utils.py b/sanic/utils.py index c7520151..272ec8a8 100644 --- a/sanic/utils.py +++ b/sanic/utils.py @@ -28,7 +28,7 @@ def sanic_endpoint_test(app, method='get', uri='/', gather_request=True, results[0] = request app.request_middleware.appendleft(_collect_request) - @app.listener('after_server_start') # TODO undo this + @app.listener('after_server_start') async def _collect_response(sanic, loop): try: response = await local_request(method, uri, *request_args,