def tearDown(self): if self.keep: print("RESULT WAS KEPT: =================================") print() print(("cd", self.tempdir)) print() print() return file_helper.destroy_dir_recursive(self.tempdir)
def testFileHelperDir(self): dir = opj(self.tempdir,"testdir") # create dir: file_helper.create_dir(dir) # test if it can be destroyed: file_helper.destroy_dir_recursive(dir) self.assertEqual(file_helper.dir_exists(dir),False)
def testFileHelperDir(self): dir = opj(self.tempdir, "testdir") # create dir: file_helper.create_dir(dir) # test if it can be destroyed: file_helper.destroy_dir_recursive(dir) self.assertEqual(file_helper.dir_exists(dir), False)
def tearDown(self): if self.keep: print "RESULT WAS KEPT: =================================" print print "cd", self.tempdir print print return file_helper.destroy_dir_recursive(self.tempdir)
def tearDown(self): if self.keep or os.name == 'nt': #Windows Complains when removing files during Unit Test print "RESULT WAS KEPT: =================================" print print "cd", self.tempdir print print return file_helper.destroy_dir_recursive(self.tempdir)
def tearDown(self): file_helper.destroy_dir_recursive(self.tempdir)