def METHOD_NAME(self):
    "Test editing profile with POST request."
    data = {"email":"new@new.com", "name":"new name", "handle":"new",
            "digest_prefs" : models.Profile.DAILY_DIGEST,
            "message_prefs" : models.Profile.LOCAL_MESSAGE}
    url = reverse("edit_profile")
    request = fake_request(url=url, data=data, user=self.user)
    response = views.edit_profile(request=request)
    self.assertEqual(response.status_code, 302, "Can not redirect after editing profile")