def METHOD_NAME(self):
    self.login_as(self.user)
    old_passwd = self.admin.enc_password
    resp = self.client.post(
        reverse('institutions:user_toggle_status', args=[self.admin.username]),
        {'s': 0},
        HTTP_X_REQUESTED_WITH='XMLHttpRequest'
    )
    self.assertEqual(200, resp.status_code)
    self.assertContains(resp, '"success": true')
    u = User.objects.get(email=self.admin.username)
    assert u.is_active is False
    assert u.enc_password == old_passwd