Exemplo n.º 1
0
    def tearDown(self):
        """clean up test
        """
        PatchedMessageBox.tear_down()

        # restore anima.local_cache_folder
        anima.local_cache_folder = self.original_cache_folder

        # remove self.remove_files
        for f in self.remove_files:
            if os.path.isfile(f):
                os.remove(f)
            elif os.path.isdir(f):
                shutil.rmtree(f)
Exemplo n.º 2
0
    def tearDown(self):
        """clean up test
        """
        PatchedMessageBox.tear_down()

        # restore anima.local_cache_folder
        anima.local_cache_folder = self.original_cache_folder

        # remove self.remove_files
        for f in self.remove_files:
            if os.path.isfile(f):
                os.remove(f)
            elif os.path.isdir(f):
                shutil.rmtree(f)
Exemplo n.º 3
0
 def tearDown(self):
     """clean up every time
     """
     PatchedMessageBox.tear_down()
Exemplo n.º 4
0
 def tearDown(self):
     """clean up every time
     """
     PatchedMessageBox.tear_down()