def METHOD_NAME(self, mock_purge):
    self.client.login(username="cdn", password="password")
    self.client.post(reverse("manage-cdn"), {"url": "http://www.fake.gov"})
    mock_purge.assert_called_with("http://www.fake.gov")