示例#1
0
文件: conftest.py 项目: clld/clld
def db(db):
    try:
        yield db
    finally:
        DBSession.rollback()
        VersionedDBSession.rollback()
示例#2
0
def db(db):
    try:
        yield db
    finally:
        DBSession.rollback()
        VersionedDBSession.rollback()