'Ensure that \'save as\' is displayed when activated and after submitting
invalid data aside save_as_new will not show us a form to overwrite the
initial model.'

def test_save_as_display(self):

    response = self.client.get('/test_admin/admin/admin_views/person/1/')
    self.assertTrue(response.context['save_as'])
    post_data = {'_saveasnew': '', 'name': 'John    M', 'gender': 3, 'alive': 'checked'}
    response = self.client.post('/test_admin/admin/admin_views/person/1/', post_data)
    self.assertEqual(response.context['form_url'], '../add/')
