def METHOD_NAME(self):
    project = self.create_project()
    response = self.get_error_response(
        project.organization.slug,
        project.slug,
        "not-a-team",
        status_code=status.HTTP_404_NOT_FOUND,
    )
    assert response.data["detail"] == "Team does not exist."