Browse Source

🎨 Auto format

pull/15215/head
pre-commit-ci-lite[bot] 4 months ago
committed by GitHub
parent
commit
937fcdffbe
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      tests/test_generate_unique_id_function.py

4
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)

Loading…
Cancel
Save