"""表名契约快照:守护全部数据库表名(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())