def setUp(self):
     BaubleTestCase.setUp(self)
     if self.__class__.table is None:
         class Test(db.Base):
             __tablename__ = 'test_enum_type'
             id = Column(Integer, primary_key=True)
             value = Column(Enum(values=['1', '2', '']), default=u'')
         self.__class__.Test = Test
         self.__class__.table = Test.__table__
         self.table.create(bind=db.engine)
 def tearDown(self):
     BaubleTestCase.tearDown(self)