def test_save_confirm_is_false_user_not_unbanned(self):
        # Make sure that the user is banned in the first place.
        self.banned_user.is_banned = True
        self.banned_user.save()

        form = forms.UnBanUserForm(
            {'user': self.banned_user.pk, 'confirm': True})
        self.assertTrue(form.is_valid())
        form.save()

        user = User.objects.get(pk=self.banned_user.pk)
        self.assertFalse(user.is_banned)
@case: hrm002-01
dataset/ETHPy150Open ofa/connect/open_connect/accounts/tests/test_forms.py/UnBanUserFormTest.test_save_confirm_is_false_user_not_unbanned--crossover with--dataset/ETHPy150Open sahana/eden/modules/tests/staff/staff_search.py/SearchStaff.test_hrm002_01_hrm_search_simple