예제 #1
0
    def setUp(self):
        """
        Creates the directory with some files in it.
        """
        UnitTestBase.setUp(self)
        self._files = ["a.txt", "b.html", "c.txtl", "español.txt"]
        os.mkdir(self.get_ext_dir())

        for mem in self._files:
            f = open(os.path.join(self.get_ext_dir(), mem), "w")
            f.write("lorem ipsum")
            f.close()
예제 #2
0
    def setUp(self):
        """
        Creates the directory with some files in it.
        """
        UnitTestBase.setUp(self)
        self._files = ["a.txt", "b.html", "c.txtl", "español.txt"]
        os.mkdir(self.get_ext_dir())

        for mem in self._files:
            f = open(os.path.join(self.get_ext_dir(), mem), "w")
            f.write("lorem ipsum")
            f.close()
예제 #3
0
 def setUp(self):
     UnitTestBase.setUp(self)
예제 #4
0
 def setUp(self):
     UnitTestBase.setUp(self)
     tools._config = {}
예제 #5
0
 def setUp(self):
     UnitTestBase.setUp(self)
예제 #6
0
 def setUp(self):
     UnitTestBase.setUp(self)
     tools._config = {}