diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2013-11-23 19:50:20 +0100 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2013-11-23 19:50:20 +0100 |
| commit | a739573e178694cf2c4ad77b57fbc7e90c1c5d55 (patch) | |
| tree | 93ba8fa744a2813af3497635c3aac8cba5424332 | |
| parent | 9e8744455286f9d28e7fb80838aa5fb1bf1d2719 (diff) | |
Fixed test breakage under python 3 introduced by a480f8320a5b36501bfd0e8cd70b8dc04adf2d08.
| -rw-r--r-- | tests/admin_views/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index 77df3651f7..3906224e33 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -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',)) |
