def METHOD_NAME(self):
    response = CouncilViewSet.as_view({"get": "retrieve"})(self.request, pk="FOO")
    # should return 404 if council does not exist
    self.assertEqual(404, response.status_code)