def METHOD_NAME(self):
    self.project = get(
        Project,
        slug="pip",
    )
    self.version = get(Version, slug="1.8", project=self.project)
    self.project.versions.all().update(privacy_level=PUBLIC)
    self.absolute_uri = (
        f"https://{self.project.slug}.readthedocs.io/en/latest/index.html"
    )
    self.host = f"{self.project.slug}.readthedocs.io"
    self.url = (
        reverse("analytics_api")
        + f"?project={self.project.slug}&version={self.version.slug}"
        f"&absolute_uri={self.absolute_uri}"
    )
    self.today = timezone.now()
    self.tomorrow = timezone.now() + timezone.timedelta(days=1)
    self.yesterday = timezone.now() - timezone.timedelta(days=1)