mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-26 23:44:19 +00:00
fix(ci): bump migration head assertion to 0004, apply prettier
- Update test_migrations / test_migrations_postgres head assertion from 0003 to 0004 after adding the mcp readme migration. - Reformat MCPForm.tsx / MCPReadme.tsx to satisfy prettier/prettier.
This commit is contained in:
@@ -150,8 +150,8 @@ class TestPostgreSQLMigrationUpgrade:
|
||||
# Verify revision
|
||||
rev = await get_alembic_current(postgres_engine)
|
||||
assert rev is not None, "Expected a revision after upgrade"
|
||||
# Head should be the latest migration (0003 for current state)
|
||||
assert rev.startswith('0003'), f"Expected head to be 0003_*, got {rev}"
|
||||
# Head should be the latest migration (0004 for current state)
|
||||
assert rev.startswith('0004'), f"Expected head to be 0004_*, got {rev}"
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_postgres_upgrade_idempotent(
|
||||
|
||||
Reference in New Issue
Block a user