示例#1
0
    def tearDownClass():

        if db_session:
            db_session.remove()

        drop_all_table()
        pass
示例#2
0
    def tearDownClass():

        if db_session:
            db_session.remove()

        drop_all_table()
        pass
示例#3
0
def shutdown_session(exception=None):
    if db_session:
        db_session.remove()
示例#4
0
def shutdown_session(exception=None):
    db_session.remove()