def setUp(self): super(ServeStaticViewsTest, self).setUp() self.filename = 'pipeline/js/first.js' self.storage = staticfiles_storage self.request = RequestFactory().get('/static/%s' % self.filename) default_collector.clear()
def tearDown(self): default_collector.clear() settings.PIPELINE_COMPILERS = self.old_compilers
def tearDown(self): default_collector.clear()
def tearDown(self): super(CollectorTest, self).tearDown() default_collector.clear()
def tearDown(self): super(ServeStaticViewsTest, self).tearDown() default_collector.clear() staticfiles_storage._setup()