コード例 #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
ファイル: test_tempfs.py プロジェクト: joaks1/PyMsBayes
 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'