mirror of https://github.com/django/django.git
Fixed test breakage under python 3 introduced by a480f8320a
.
This commit is contained in:
parent
9e87444552
commit
a739573e17
|
@ -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 New Issue