def METHOD_NAME(self):
    factory = RequestFactory()
    self.http_request = factory.get("/")
    self.obj = Application.objects.create(
        name=generate_id(),
        slug=generate_id(),
    )
    self.request = PolicyRequest(user=get_anonymous_user())
    self.request.obj = self.obj
    self.request.http_request = self.http_request