Files
DjangoAdmin_FastAPI_NaiveVue/tests/contract/test_tablename_snapshot.py
T
2026-09-12 18:24:41 +08:00

11 lines
294 B
Python

"""表名契约快照:守护全部数据库表名(DB_PREFIX + 模块)不变。"""
import pytest
from tests.contract.helpers import collect_tables, compare_snapshot
pytestmark = pytest.mark.contract
def test_tablenames_snapshot():
compare_snapshot("tables.json", collect_tables())