def test_specific_dialect(self): Base = declarative_base() class Obj(Base): __tablename__ = 'Obj' id = Column(Integer, primary_key=True) text = Column(MEDIUMTEXT) engine = create_engine('mysql+pymysql://') cli = Sqla(orm.sessionmaker(bind=engine), metadata=Base.metadata) schema = cli._schema(Obj.__table__) self.assertIn('MEDIUMTEXT', schema)