diff --git a/tests/regressiontests/admin_views/tests.py b/tests/regressiontests/admin_views/tests.py
index f074d77..bcd10c8 100644
a
|
b
|
class SaveAsTests(TestCase):
|
715 | 715 | """ |
716 | 716 | response = self.client.get('/test_admin/admin/admin_views/person/1/') |
717 | 717 | self.assertTrue(response.context['save_as']) |
| 718 | self.assertTrue('_saveasnew' in response.content) |
718 | 719 | post_data = {'_saveasnew':'', 'name':'John M', 'gender':3, 'alive':'checked'} |
719 | 720 | response = self.client.post('/test_admin/admin/admin_views/person/1/', post_data) |
720 | 721 | self.assertEqual(response.context['form_url'], '/test_admin/admin/admin_views/person/add/') |
| 722 | self.assertTrue('_saveasnew' in response.content) |
721 | 723 | |
722 | 724 | class CustomModelAdminTest(AdminViewBasicTest): |
723 | 725 | urls = "regressiontests.admin_views.urls" |