def testBasicAddPost(self):
        post_data = {
            "name": u"This Week in Django",
            # inline data
            "generic_inline_admin-media-content_type-object_id-TOTAL_FORMS": u"1",
            "generic_inline_admin-media-content_type-object_id-INITIAL_FORMS": u"0",
            "generic_inline_admin-media-content_type-object_id-MAX_NUM_FORMS": u"0",
        }
        response = self.client.post('/generic_inline_admin/admin/generic_inline_admin/episode/add/', post_data)
        self.assertEqual(response.status_code, 302) # redirect somewhere
A smoke test to ensure POST on add_view works.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/generic_inline_admin/tests.py/GenericAdminViewTest.testBasicAddPost