Commit a739573e authored by Baptiste Mispelon's avatar Baptiste Mispelon
Browse files

Fixed test breakage under python 3 introduced by a480f832.

parent 9e874445
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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',))