mirror of
https://github.com/Hopiu/django.git
synced 2026-05-01 12:14:51 +00:00
Fixed test breakage under python 3 introduced by a480f8320a.
This commit is contained in:
parent
9e87444552
commit
a739573e17
1 changed files with 1 additions and 1 deletions
|
|
@ -2971,7 +2971,7 @@ class AdminInlineFileUploadTest(TestCase):
|
|||
"pictures-1-image": "",
|
||||
}
|
||||
response = self.client.post('/test_admin/%s/admin_views/gallery/%d/' % (self.urlbit, self.gallery.id), post_data)
|
||||
self.assertTrue(response._container[0].find("Currently:") > -1)
|
||||
self.assertContains(response, b"Currently")
|
||||
|
||||
|
||||
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
|
||||
|
|
|
|||
Loading…
Reference in a new issue