mirror of
https://github.com/django/django.git
synced 2025-10-28 18:43:19 +00:00
Remove the usage of deprecated function in Django. Also simplify the fallback code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
d1e7409278
commit
6c91521902
3 changed files with 4 additions and 10 deletions
|
|
@ -135,7 +135,7 @@ class AdminViewBasicTest(TestCase):
|
|||
'date_1': u'14:55:39',
|
||||
}
|
||||
response = self.client.post('/test_admin/%s/admin_views/article/add/' % self.urlbit, post_data)
|
||||
self.failUnlessEqual(response.status_code, 200)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertContains(response, 'dismissAddAnotherPopup')
|
||||
self.assertContains(response, 'title with a new\u000Aline')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue