def test_delete_output_directory(self): ag = AGAnalysis(self.agilepyconfPath, self.sourcesconfPath) outDir = Path(ag.getOption("outdir")) self.assertEqual(True, outDir.exists() and outDir.is_dir()) ag.deleteAnalysisDir() self.assertEqual(False, outDir.exists())
def test_delete_output_directory(self): test_out_dir = self.set_outputfolder("test_delete_output_directory") ag = AGAnalysis(self.agilepyConf, self.sourcesConfTxt) outDir = Path(ag.getOption("outdir")) self.assertEqual(True, outDir.exists() and outDir.is_dir()) ag.deleteAnalysisDir() self.assertEqual(False, outDir.exists())