Exemplo n.º 1
0
 def test_root_equal_to_static_root_raises(self):
     conf = StaticPreprocessorAppConf()
     conf._meta.configured_data['ROOT'] = settings.STATIC_ROOT
     with self.assertRaises(ImproperlyConfigured):
         conf.configure()
Exemplo n.º 2
0
 def test_no_root_raises(self):
     conf = StaticPreprocessorAppConf()
     conf._meta.configured_data['ROOT'] = None
     with self.assertRaises(ImproperlyConfigured):
         conf.configure()