Ejemplo n.º 1
0
 def test_register(self):
     importer.register(self.PACKAGE)
Ejemplo n.º 2
0
 def __init__(self, base=os.curdir):
     self.config = configuration.Config(base)
     self.static = DirectoryApp(self.config.staticdir)
     self.loader = TemplateLoader(self.config.templatedir,
                                  auto_reload=True)
     self.importer = importer.register(self.config.pythondir)
Ejemplo n.º 3
0
 def setUpClass(cls):
     cls.importer = importer.register(cls.PACKAGE)