Ejemplo n.º 1
0
 def __init__(self, config, outputDir, package, pages):
     """
     Initialize
     'outputDir' is the directory that we read the html from and also output
     the mainfest.xml 
     """
     self.config = config
     self.outputDir = outputDir
     self.package = package
     self.idGenerator = UniqueIdGenerator(package.name, config.exePath)
     self.pages = pages
     self.itemStr = ""
     self.resStr = ""
Ejemplo n.º 2
0
 def setUp(self):
     self.generator = UniqueIdGenerator("David's Gen", sys.argv[0])