Skip to content

Commit

Permalink
Interceptor pragma coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsil committed Jul 20, 2023
1 parent 9b9df08 commit 338165a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/interceptors/test_interceptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async def create(data: Item, name: str) -> JSONResponse:
async def cookie_test(
data: Item, name: str, cookie: str = Cookie(value="csrftoken")
) -> JSONResponse:
return JSONResponse({"name": name, "cookie": cookie})
... # pragma: no cover


@post("/logging/{name}")
Expand Down
2 changes: 1 addition & 1 deletion tests/middleware/test_exception_handler_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


async def dummy_app(scope: Any, receive: Any, send: Any) -> None:
return None
... # pragma: no cover


middleware = EsmeraldAPIExceptionMiddleware(dummy_app, False, {})
Expand Down

0 comments on commit 338165a

Please sign in to comment.