def setUp(self):
        self.user = self.create_user()
        self.group = self.create_group()
        self.user.add_to_group(self.group.pk)
        self.login(self.user)
        self.thread = self.create_thread(group=self.group)
        self.url = reverse('unread_message_count')
Setup the UnreadMessageCountViewTest TestCase
dataset/ETHPy150Open ofa/connect/open_connect/connectmessages/tests/test_views.py/UnreadMessageCountViewTest.setUp