def METHOD_NAME(self):
    user_id = self.user.id
    order_id = self.order.id
    profile = self.app.get(reverse("customer:profile-view"), user=self.user)
    delete_confirm = profile.click(linkid="delete_profile")
    form = delete_confirm.forms["delete_profile_form"]
    form["password"] = self.password
    form.submit()
    # Ensure user is deleted
    users = User.objects.filter(id=user_id)
    self.assertEqual(0, len(users))
    # Ensure order isn't deleted
    users = User.objects.filter(id=user_id)
    orders = Order.objects.filter(id=order_id)
    self.assertEqual(1, len(orders))