def test_post(self):
        order = Order(name='Dummy Order')
        order.save()
        data = {}
        data.update(self.management_data)

        res = self.client.post('/inlineformset/{}/'.format(order.id), data, follow=True)
        self.assertEqual(res.status_code, 200)
        self.assertTrue('formset' in res.context)
        self.assertFalse(res.context in 'form')
dataset/ETHPy150Open AndrewIngram/django-extra-views/extra_views_tests/tests.py/InlineFormSetViewTests.test_post/swapped operands of `in`