def METHOD_NAME(
    self, basic_client, oauth_http_service
):
    oauth_http_service.request.side_effect = ExternalRequestError(
        response=factories.requests.Response(status_code=401)
    )
    with pytest.raises(ExternalRequestError) as exc_info:
        basic_client.request("GET", "/foo")
    assert exc_info.value.refreshable