fix unproper test case

This commit is contained in:
PandaFeeder 2017-05-13 22:10:17 +08:00
parent 7509494993
commit e9369b3381

View File

@ -129,6 +129,7 @@ def test_early_response_from_mounted_response_middleware():
async def early_response_middleware(request, response): async def early_response_middleware(request, response):
results.append(added[2]) results.append(added[2])
response.headers.update({"Added": "Response Middleware"}) response.headers.update({"Added": "Response Middleware"})
return response
def not_called_response_middleware(requst, response): def not_called_response_middleware(requst, response):
results.append(added[3]) results.append(added[3])