def test_get(self):
        order = Order(name='Dummy Order')
        order.save()

        order2 = Order(name='Other Order')
        order2.save()

        tag = Tag(name='Test', content_object=order)
        tag.save()

        tag = Tag(name='Test2', content_object=order2)
        tag.save()

        res = self.client.get('/genericinlineformset/{}/'.format(order.id))

        self.assertEqual(res.status_code, 200)
        self.assertTrue(res.context in 'formset')
        self.assertFalse('form' in res.context)
        self.assertEqual('Test', res.context['formset'].forms[0]['name'].value())
dataset/ETHPy150Open AndrewIngram/django-extra-views/extra_views_tests/tests.py/GenericInlineFormSetViewTests.test_get/swapped operands of `in`