예제 #1
0
 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))
예제 #2
0
 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))
예제 #3
0
 def setUp(self):
     self.parent = package_paths.output_path()
     mkdr(self.parent)
     self.prefix = "test-temp"
예제 #4
0
 def setUp(self):
     self.parent = package_paths.output_path()
     mkdr(self.parent)
     self.prefix = 'test-temp'