Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 12, 2024
1 parent 7aa501d commit 86c9b49
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/test_fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async def index(request: Request) -> Response:
return JSONResponse(data)


@pytest.mark.asyncio()
@pytest.mark.asyncio
@pff.parametrize(path="assets/test_middleware.json")
async def test_user_agent_data(ua_string: str, response_data: dict) -> None:
"""Test user-agent data."""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_litestar.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def index(request: Request) -> Dict[str, Any]:
app = Litestar(route_handlers=[index], middleware=[UAMiddleware])


@pytest.mark.asyncio()
@pytest.mark.asyncio
@pff.parametrize(path="assets/test_middleware.json")
async def test_user_agent_data(ua_string: str, response_data: dict) -> None:
"""Test user-agent data."""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_quart.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def home() -> str:
return jsonify(data)


@pytest.mark.asyncio()
@pytest.mark.asyncio
@pff.parametrize(path="assets/test_middleware.json")
async def test_user_agent_data(ua_string: str, response_data: dict) -> None:
"""Test user-agent data."""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_starlette.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def index(request: Request) -> Response:
app = Starlette(routes=[Route("/", index)], middleware=[Middleware(UAMiddleware)])


@pytest.mark.asyncio()
@pytest.mark.asyncio
@pff.parametrize(path="assets/test_middleware.json")
async def test_user_agent_data(ua_string: str, response_data: dict) -> None:
"""Test user-agent data."""
Expand Down

0 comments on commit 86c9b49

Please sign in to comment.