Remove todo
This commit is contained in:
parent
2d5fd2fe1c
commit
8b08a370c5
|
@ -28,7 +28,7 @@ def sanic_endpoint_test(app, method='get', uri='/', gather_request=True,
|
||||||
results[0] = request
|
results[0] = request
|
||||||
app.request_middleware.appendleft(_collect_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):
|
async def _collect_response(sanic, loop):
|
||||||
try:
|
try:
|
||||||
response = await local_request(method, uri, *request_args,
|
response = await local_request(method, uri, *request_args,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user