def test_mkdr(self): self.assertFalse(os.path.exists(self.path)) functions.mkdr(self.path) self.assertTrue(os.path.exists(self.path)) self.assertTrue(os.path.isdir(self.path)) functions.mkdr(self.path) self.assertTrue(os.path.exists(self.path)) self.assertTrue(os.path.isdir(self.path))
def setUp(self): self.parent = package_paths.output_path() mkdr(self.parent) self.prefix = "test-temp"
def setUp(self): self.parent = package_paths.output_path() mkdr(self.parent) self.prefix = 'test-temp'