8000 Fix failing test · encode/starlette@7ea1226 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7ea1226

Browse files
Victorien PLOTVictorien PLOT
authored andcommitted
Fix failing test
1 parent 1e40b6d commit 7ea1226

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/middleware/test_middleware.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
from starlette.middleware import Middleware
2+
from starlette.types import Receive, Scope, Send
23

34

45
class CustomMiddleware:
5-
pass
6+
async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
7+
return None
68

79

810
def test_middleware_repr():

0 commit comments

Comments
 (0)
0