def test_create_view_failure(self):
        response = self.client.post('/create/',
            {'date': 1},
            follow=True,
            HTTP_X_REQUESTED_WITH="XMLHttpRequest")

        self.assertTrue(response.template_name in 'test_app/testmodel_form_fragment.html')
dataset/ETHPy150Open brmc/django-octopus/tests/tests/test_edit_views.py/TestEditViews.test_create_view_failure/swapped operands of `in`