def METHOD_NAME(mock_token, app, auth_headers_for_superuser):
    endpoint = OIDC_API['GROUP']
    mock_token.return_value = 'test-token'
    responses.add(responses.GET,
                  f'{endpoint}?filter=displayName:contains:test',
                  status=503)
    with app.test_client() as client:
        resp = client.get('services/oidc/group?query=test',
                          headers=auth_headers_for_superuser)
    assert resp.status_code == 503