style(test): collapse test constants and helper signature to one line

Pure formatting on the new test block, matching ruff format's preference
for lines that fit within 120 characters.

Signed-off-by: Delweng <delweng@gmail.com>
This commit is contained in:
Delweng 2026-10-12 15:35:49 +08:00
parent 3e480a7462
commit 87e947cc8c

View file

@ -82,15 +82,10 @@ _PARTITIONED_SPEND_LOGS_PK_DIFF: Final = (
'ADD CONSTRAINT "LiteLLM_SpendLogs_pkey" PRIMARY KEY ("request_id");\n'
)
_BUDGET_TABLE_DIFF: Final = (
"-- AlterTable\n"
'ALTER TABLE "LiteLLM_BudgetTable" ADD COLUMN "updated_at" TIMESTAMP(3);\n'
)
_BUDGET_TABLE_DIFF: Final = '-- AlterTable\nALTER TABLE "LiteLLM_BudgetTable" ADD COLUMN "updated_at" TIMESTAMP(3);\n'
def _schema_diff_result(
mocker: MockerFixture, diff_sql: str, *, partitioned: bool | None
) -> tuple[bool, list[str]]:
def _schema_diff_result(mocker: MockerFixture, diff_sql: str, *, partitioned: bool | None) -> tuple[bool, list[str]]:
mocker.patch(
"litellm_proxy_extras.prisma_toolchain.run_prisma",
return_value=subprocess.CompletedProcess(args=[], returncode=0, stdout=diff_sql),