@pytest.fixture
def auth_token(rest_client, long_vo):
    from rucio.tests.common import vohdr, headers, loginhdr
    auth_response = rest_client.get('/auth/userpass', headers=headers(loginhdr('root', 'ddmlab', 'secret'), vohdr(long_vo)))
    assert (auth_response.status_code == 200)
    token = auth_response.headers.get('X-Rucio-Auth-Token')
    assert token
    return str(token)
@pytest.fixture
def auth_token(rest_client, long_vo):
    from rucio.tests.common import vohdr, headers, loginhdr
    auth_response = rest_client.get('/auth/userpass', headers=headers(loginhdr('root', 'ddmlab', 'secret'), vohdr(long_vo)))
    assert (auth_response.status_code == 200)
    token = auth_response.headers.get('X-Rucio-Auth-Token')
    assert token
    return str(token)