def test_clear_directory(self): os.mkdir(".mlcp") loader = MLCPLoader() loader.clear_directory() self.assertFalse(os.path.isdir(".mlcp"))
def test_download(self): loader = MLCPLoader() loader.clear_directory() loader.download_mlcp() dir_stat = os.stat(".mlcp") self.assertIsNotNone(dir_stat, "There should be an mlcp subdirectory created")