From e9369b33810e021286ff7a203e9f083049f2ddde Mon Sep 17 00:00:00 2001 From: PandaFeeder Date: Sat, 13 May 2017 22:10:17 +0800 Subject: [PATCH] fix unproper test case --- tests/test_mounted_middleware.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_mounted_middleware.py b/tests/test_mounted_middleware.py index df7c09a6..56c1c43b 100644 --- a/tests/test_mounted_middleware.py +++ b/tests/test_mounted_middleware.py @@ -129,6 +129,7 @@ def test_early_response_from_mounted_response_middleware(): async def early_response_middleware(request, response): results.append(added[2]) response.headers.update({"Added": "Response Middleware"}) + return response def not_called_response_middleware(requst, response): results.append(added[3])