def METHOD_NAME(self):
    try:
        reset_url = reverse(
            "dashboard:user-password-reset", kwargs={"pk": self.customer.id}
        )
        self.get(reset_url)
    except AppError as e:
        self.assertIn("405", e.args[0])