@pytest.fixture(scope='session')
def second_vo():
    from rucio.common.config import config_get_bool
    from rucio.core.vo import vo_exists, add_vo
    multi_vo = config_get_bool('common', 'multi_vo', raise_exception=False, default=False)
    if (not multi_vo):
        pytest.skip('multi_vo mode is not enabled. Running multi_vo tests in single_vo mode would result in failures.')
    new_vo = 'new'
    if (not vo_exists(vo=new_vo)):
        add_vo(vo=new_vo, description='Test', email='example@example.com')
    return new_vo
@pytest.fixture(scope='session')
def second_vo():
    from rucio.common.config import config_get_bool
    from rucio.core.vo import vo_exists, add_vo
    multi_vo = config_get_bool('common', 'multi_vo', raise_exception=False, default=False)
    if (not multi_vo):
        pytest.skip('multi_vo mode is not enabled. Running multi_vo tests in single_vo mode would result in failures.')
    new_vo = 'new'
    if (not vo_exists(vo=new_vo)):
        add_vo(vo=new_vo, description='Test', email='example@example.com')
    return new_vo