@pytest.yield_fixture(autouse=True) async def rollback_db(loop): from proj.models import db async with db.transaction() as tx: try: yield None finally: ...
確定! 回上一頁