diff --git a/tests/test_generate_unique_id_function.py b/tests/test_generate_unique_id_function.py index 3da1e1d596..1d1b22ad88 100644 --- a/tests/test_generate_unique_id_function.py +++ b/tests/test_generate_unique_id_function.py @@ -1702,7 +1702,9 @@ def test_warn_duplicate_operation_id(): def test_no_duplicate_operation_id_for_multi_method_route(): app = FastAPI() router = APIRouter() - router.add_api_route("/items/", lambda: [], methods=["POST", "DELETE"], name="items") + router.add_api_route( + "/items/", lambda: [], methods=["POST", "DELETE"], name="items" + ) app.include_router(router) client = TestClient(app)