Пример #1
0
    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()
Пример #2
0
 def tearDown(self):
     default_collector.clear()
     settings.PIPELINE_COMPILERS = self.old_compilers
Пример #3
0
 def tearDown(self):
     default_collector.clear()
Пример #4
0
 def tearDown(self):
     default_collector.clear()
    def tearDown(self):
        super(CollectorTest, self).tearDown()

        default_collector.clear()
Пример #6
0
    def tearDown(self):
        super(ServeStaticViewsTest, self).tearDown()

        default_collector.clear()
        staticfiles_storage._setup()
Пример #7
0
    def tearDown(self):
        super(CollectorTest, self).tearDown()

        default_collector.clear()