def METHOD_NAME(self):
    channel = public.ChannelMetadata.objects.get()
    channel.last_updated = datetime.datetime.now()
    channel.save()
    response = self.client.get(
        reverse("publicimportmetadata-detail", kwargs={"pk": self.node.id})
    )
    self.assertEqual(response.headers["Vary"], "Accept")
    self.assertEqual(
        response.headers["Cache-Control"],
        "max-age=300, public, stale-while-revalidate=100",
    )
    self.assertEqual(
        response.headers["Last-Modified"],
        http_date(timegm(channel.last_updated.utctimetuple())),
    )