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()
Example #2
0
 def tearDown(self):
     default_collector.clear()
     settings.PIPELINE_COMPILERS = self.old_compilers
Example #3
0
 def tearDown(self):
     default_collector.clear()
 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()
Example #7
0
    def tearDown(self):
        super(CollectorTest, self).tearDown()

        default_collector.clear()