@pytest.fixture(autouse=True)
def unpin_db(request):

    request.addfinalizer(pinning.unpin_this_thread)
Unpin the database from master in the current DB.
dataset/ETHPy150Open mozilla/addons-server/conftest.py/unpin_db