def setup(self):
        """ create clean local registries, make sure it's used globally """
        super(BaseSpokeTemplateTest, self).setup()

        self.reg = TemplateRegistry()
        template_registry.set(self.reg)

        self.root = Node.root()
Exemple #2
0
def localtemplateregistry(request):
    template_registry.set(TemplateRegistry())