From 07f8373b7baa21ba01d7d01133f1da8707d99593 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Tue, 17 Mar 2026 17:51:57 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Auto=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_generate_unique_id_function.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/test_generate_unique_id_function.py b/tests/test_generate_unique_id_function.py index 2a4038b00f..72b1bb9530 100644 --- a/tests/test_generate_unique_id_function.py +++ b/tests/test_generate_unique_id_function.py @@ -1711,7 +1711,16 @@ def test_multiple_methods_unique_operation_id(): with warnings.catch_warnings(record=True) as w: warnings.simplefilter("always") response = client.get("/openapi.json") - assert len([x for x in w if "Duplicate Operation ID" in str(getattr(x, "message", ""))]) == 0 + assert ( + len( + [ + x + for x in w + if "Duplicate Operation ID" in str(getattr(x, "message", "")) + ] + ) + == 0 + ) paths = response.json()["paths"]["/clear"] post_id = paths["post"]["operationId"] delete_id = paths["delete"]["operationId"]