Example #1
0
 def setUp(self):
     settings.ADDON_ICON_URL = (
         '%s/%s/%s/images/addon_icon/%%d-%%d.png?modified=%%s' % (
         settings.STATIC_URL, settings.LANGUAGE_CODE, settings.DEFAULT_APP))
     settings.PREVIEW_THUMBNAIL_URL = (settings.STATIC_URL +
         '/img/uploads/previews/thumbs/%s/%d.png?modified=%d')
     settings.PREVIEW_FULL_URL = (settings.STATIC_URL +
         '/img/uploads/previews/full/%s/%d.png?modified=%d')
     _connect()
Example #2
0
 def setUp(self):
     _connect()
Example #3
0
 def setUp(self):
     _connect()
Example #4
0
 def setUp(self):
     super(TestFlushURLs, self).setUp()
     _connect()