'A smoke test to ensure POST on edit_view works.'

def test_basic_edit_POST(self):

    post_data = {'name': 'This    Week    in    Django', 'generic_inline_admin-media-content_type-object_id-TOTAL_FORMS': '3', 'generic_inline_admin-media-content_type-object_id-INITIAL_FORMS': '2', 'generic_inline_admin-media-content_type-object_id-MAX_NUM_FORMS': '0', 'generic_inline_admin-media-content_type-object_id-0-id': ('%d' % self.mp3_media_pk), 'generic_inline_admin-media-content_type-object_id-0-url': 'http://example.com/podcast.mp3', 'generic_inline_admin-media-content_type-object_id-1-id': ('%d' % self.png_media_pk), 'generic_inline_admin-media-content_type-object_id-1-url': 'http://example.com/logo.png', 'generic_inline_admin-media-content_type-object_id-2-id': '', 'generic_inline_admin-media-content_type-object_id-2-url': ''}
    url = reverse('admin:generic_inline_admin_episode_change', args=(self.episode_pk,))
    response = self.client.post(url, post_data)
    self.assertEqual(response.status_code, 302)
