mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-26 06:03:19 +00:00
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:
parent
3e480a7462
commit
87e947cc8c
1 changed files with 2 additions and 7 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue