Пример #1
0
def teardown_database():
    session.cleanup()
Пример #2
0
def teardown_database():
    session.cleanup()
 def tearDown(self):
     sql.ModelBase.metadata.drop_all(bind=self.engine)
     session.cleanup()
     super(KcMasterSqlTestCase, self).tearDown()