Beispiel #1
0
 def test_5(self):  # ensure present dirs does not crash make_dirs
     utils.make_dirs(self.base, "bb11")
     self.assertTrue(os.path.isdir(os.path.join(self.base, "bb11")))
Beispiel #2
0
 def setUp(self):
     bpath = os.path.split(os.path.abspath(__file__))[0]
     self.base = base = os.path.join(bpath, "XTEMPX")
     utils.make_dirs(base, "aa")
     utils.make_dirs(base, "bb5")
     utils.make_dirs(base, "bb11")