Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Victorien PLOT authored and Victorien PLOT committed Dec 20, 2022
1 parent 1e40b6d commit 7ea1226
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/middleware/test_middleware.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
from starlette.middleware import Middleware
from starlette.types import Receive, Scope, Send


class CustomMiddleware:
pass
async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
return None


def test_middleware_repr():
Expand Down

0 comments on commit 7ea1226

Please sign in to comment.