def METHOD_NAME(self):
    with mock.patch("contentcuration.views.users.djangologin") as djangologin:
        self.user.delete()
        response = login(self.request)
        self.assertIsInstance(response, HttpResponseForbidden)
        djangologin.assert_not_called()