refactor: fix warnings and typos, cleanup code

This commit is contained in:
2023-12-28 16:53:45 +02:00
parent 1a2327cefd
commit e9116741a5
20 changed files with 35 additions and 37 deletions

View File

@ -139,7 +139,7 @@ async def test_exception_handler_head() -> None:
async def test_exception_handler_method_not_allowed() -> None:
"""
must handle not allowed methodss
must handle not allowed methods
"""
request = pytest.helpers.request("", "", "POST")
request_handler = AsyncMock(side_effect=HTTPMethodNotAllowed("POST", ["GET"]))