Esempio n. 1
0
 def test_ReaddingLogFolderAfterDeletion(self):
     config = Builder().setworkdirectory(self.workdirectory).build()
     samplepath = os.path.dirname(config.getlogpath("anyPath"))
     self.assertTrue(os.path.exists(samplepath))
     config.deletelogfolder()
     self.assertFalse(os.path.exists(samplepath))
     samplepath = os.path.dirname(config.getlogpath("anyPath"))
     self.assertTrue(os.path.exists(samplepath))
Esempio n. 2
0
 def test_ReaddingLogFolderAfterDeletion(self):
     config = Builder().setworkdirectory(self.workdirectory).build()
     samplepath = os.path.dirname(config.getlogpath("anyPath"))
     self.assertTrue(os.path.exists(samplepath))
     config.deletelogfolder()
     self.assertFalse(os.path.exists(samplepath))
     samplepath = os.path.dirname(config.getlogpath("anyPath"))
     self.assertTrue(os.path.exists(samplepath))