def METHOD_NAME(self):
    "Test the notification toggling"
    url = reverse("toggle_notify")
    request = fake_request(url=url, data={}, user=self.user)
    response = views.toggle_notify(request=request)
    self.assertEqual(response.status_code, 302)