def test_update_success(self):
        response = self.client.post('/update/1',
            { 'date': date(2015, 2, 21) },
            follow=True,
            HTTP_X_REQUESTED_WITH="XMLHttpRequest")
        self.assertEqual(200, response.status_code)
        self.assertTrue('fragment_list.html' in response.template_name)
dataset/ETHPy150Open brmc/django-octopus/tests/tests/test_edit_views.py/TestEditViews.test_update_success/original