def test_idx_matches_long(self): from alembic.operations.base import conv m1 = MetaData() Table( 'q', m1, Column('id', Integer, primary_key=True), Column('data', Integer), Index(conv("idx_q_table_this_is_more_than_thirty_characters"), "data")) diffs = self._fixture(m1, m1) eq_(diffs, [])
def test_idx_matches_long(self): from alembic.operations.base import conv m1 = MetaData() Table( 'q', m1, Column('id', Integer, primary_key=True), Column('data', Integer), Index( conv("idx_q_table_this_is_more_than_thirty_characters"), "data") ) diffs = self._fixture(m1, m1) eq_(diffs, [])