def test_user_bulk_actions_hide_successfully_hides_user_not_admin(self):
        site2 = Site.objects.create(domain='www.example.com')
        users = Site.objects.get(id=site2.id).hidden_users.all()
        self.assertEqual(users.count(), 0)
        self.assertTrue(users not in self.admin)

        resp = self.client.post(
            reverse("c4all_admin:user_bulk_actions"),
            {
                "site_id": site2.id,
                "action": ["hide"],
                "choices": [self.user.id, self.admin.id]
            }
        )

        self.assertEqual(resp.status_code, 302)
        users = Site.objects.get(id=site2.id).hidden_users.all()
        self.assertEqual(users.count(), 1)
        self.assertTrue(self.admin not in users)
dataset/ETHPy150Open c4all/c4all/admin/tests/user.py/AdminUsertestCases.test_user_bulk_actions_hide_successfully_hides_user_not_admin/swapped operands of `not in`