def test_does_not_remove_userthreads_for_other_groups(self):
        # Create a new thread and add our user to the thread's group
        thread2 = self.create_thread()
        add_user_to_group(self.user.pk, thread2.group.pk)

        # Remove user from the group created in setup
        remove_user_from_group(self.user.pk, self.group.pk)

        # There should still be a userthread for the group created in this test
        # through thread2.
        self.assertTrue(
            UserThread.objects.filter(user=self.user, thread=thread2).exists())
Check if a column is contained within a `Columns` object.
dataset/ETHPy150Open ofa/connect/open_connect/groups/tests/test_tasks.py/TestRemoveUserFromGroup.test_does_not_remove_userthreads_for_other_groups--crossover with--dataset/ETHPy150Open bradleyayers/django-tables2/django_tables2/columns/base.py/BoundColumns.__contains__