diff options
Diffstat (limited to 'askbot/tests/skin_tests.py')
-rw-r--r-- | askbot/tests/skin_tests.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/askbot/tests/skin_tests.py b/askbot/tests/skin_tests.py index f8e940ee..ecbea77d 100644 --- a/askbot/tests/skin_tests.py +++ b/askbot/tests/skin_tests.py @@ -65,11 +65,6 @@ class SkinTests(TestCase): new_logo = UploadedFile(file = logo_file) askbot_settings.update('SITE_LOGO_URL', new_logo) logo_url = askbot_settings.SITE_LOGO_URL - self.assertTrue( - logo_url.startswith( - django_settings.ASKBOT_URL + \ - '/' + django_settings.ASKBOT_UPLOADED_FILES_URL - ) - ) + self.assertTrue(logo_url.startswith(django_settings.MEDIA_URL)) response = self.client.get(logo_url) self.assertTrue(response.status_code == 200) |