Ejemplo n.º 1
0
    def setUp(self):
        self.prog_version = "0.1"
        self.prog_version_date = "2011-12-19"
        self.description = "descriptionbla"
        self.copyright_year = "2011"
        self.copyright_authors = "Armin Wieser <*****@*****.**>"
        self.parser = MemacsArgumentParser(
            prog_version=self.prog_version,
            prog_description=self.description,
            prog_version_date=self.prog_version_date,
            copyright_authors=self.copyright_authors,
            copyright_year=self.copyright_year)

        self.TMPFOLDER = tempfile.mkdtemp()
Ejemplo n.º 2
0
 def setUp(self):
     self.prog_version = "0.1"
     self.prog_version_date = "2011-12-19"
     self.description = "descriptionbla"
     self.copyright_year = "2011"
     self.copyright_authors = "Armin Wieser <*****@*****.**>"
     self.parser = MemacsArgumentParser(
         prog_version=self.prog_version,
         prog_description=self.description,
         prog_version_date=self.prog_version_date,
         copyright_authors=self.copyright_authors,
         copyright_year=self.copyright_year)
     self.TMPFOLDER = os.path.normpath(
         os.path.dirname(os.path.abspath(__file__)) + os.path.sep + \
             "tmp") + os.sep
     if not os.path.exists(self.TMPFOLDER):
         os.makedirs(self.TMPFOLDER)