def METHOD_NAME(
        mock_get_token, client, auth_headers_for_superuser):
    glance_id = '111'
    mock_get_token.return_value = 'some_token'
    responses.add(
        responses.GET,
        current_app.config.get('GLANCE_GET_BY_ID_URL').format(id=glance_id),
        json={'message': 'External server replied with an error.'},
        status=503)
    resp = client.get('/atlas/glance/{}'.format(glance_id),
                      headers=auth_headers_for_superuser)
    assert resp.status_code == 503
    assert resp.json['message'] == 'External server replied with an error.'