mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-29 20:05:25 +08:00
test(persistence): require PostgreSQL release upgrade regression
This commit is contained in:
@@ -15,7 +15,7 @@ from tests.integration.persistence.test_migration_branch_convergence import (
|
||||
)
|
||||
|
||||
|
||||
@pytest.fixture(params=['sqlite', 'postgresql'])
|
||||
@pytest.fixture(params=['sqlite', pytest.param('postgresql', marks=[pytest.mark.slow, pytest.mark.postgres])])
|
||||
async def convergence_engine(request, tmp_path):
|
||||
import os
|
||||
import uuid
|
||||
@@ -46,6 +46,7 @@ async def convergence_engine(request, tmp_path):
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@pytest.mark.contract('migration_history')
|
||||
async def test_release_41011_upgrade(convergence_engine, monkeypatch):
|
||||
from langbot.pkg.utils import constants
|
||||
|
||||
|
||||
Reference in New Issue
Block a user