https://dev.kronoz.win/r/marzneshin.git
1import pytest
2from pytest_alembic.tests import (
3 test_model_definitions_match_ddl,
4 test_single_head_revision,
5 test_up_down_consistency,
6 test_upgrade,
7)
8
9
10@pytest.mark.tryfirst
11def test_model_definitions_match_ddl(alembic_engine, alembic_config):
12 if "sqlite" in alembic_engine.url.drivername:
13 pytest.skip("Skipping DDL test for SQLite database")
14 from pytest_alembic.tests import test_model_definitions_match_ddl
15
16 test_model_definitions_match_ddl(alembic_engine, alembic_config)