def METHOD_NAME(self):
    payload = {"error-list": []}
    responses.add(
        responses.Response(
            method="GET", url=self.api_url, json=payload, status=404
        )
    )
    response = self.client.get(self.endpoint_url)
    assert len(responses.calls) == 1
    called = responses.calls[0]
    assert called.request.url == self.api_url
    assert response.status_code == 404