def test_rendering_without_manifest_raises_exception_jinja2(self):
     # flush cached manifest
     flush_offline_manifest()
     self.assertRaises(OfflineGenerationError,
                       self.template_jinja2.render, {})
Пример #2
0
 def handle(self, *args, **options):
     print("Flushing offline manifest...")
     flush_offline_manifest()
Пример #3
0
 def test_rendering_without_manifest_raises_exception_jinja2(self):
     # flush cached manifest
     flush_offline_manifest()
     self.assertRaises(OfflineGenerationError, self.template_jinja2.render,
                       {})
Пример #4
0
 def handle(self, *args, **options):
     print("Flushing offline manifest...")
     flush_offline_manifest()