@pytest.fixture
def db_session():
    from rucio.db.sqla import session
    db_session = session.get_session()
    (yield db_session)
    db_session.commit()
    db_session.close()
@pytest.fixture
def db_session():
    from rucio.db.sqla import session
    db_session = session.get_session()
    (yield db_session)
    db_session.commit()
    db_session.close()