def test_get_all_messages(self):
        login = self.client.login(username='test', password='test')
        chat = Chat.objects.create(name='Test Chat', details='Details')
        chat.messages.create(name=chat.name, message='new message text')
        url = reverse('get_messages')
        resp = self.client.get('%s?%s=0' % (url, chat.id))
        self.assertTrue(resp.content in 'new message text')
dataset/ETHPy150Open MegaMark16/django-live-support/live_support/tests.py/AdminTests.test_get_all_messages/swapped operands of `in`