Exemplo n.º 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))
Exemplo n.º 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))
Exemplo n.º 3
0
 def setUp(self):
     self.parent = package_paths.output_path()
     mkdr(self.parent)
     self.prefix = "test-temp"
Exemplo n.º 4
0
 def setUp(self):
     self.parent = package_paths.output_path()
     mkdr(self.parent)
     self.prefix = 'test-temp'