def tearDown(self): super(MovielensRnnAgentTest, self).tearDown() file_util.delete_recursively(self.workdir)
def tearDown(self): file_util.delete_recursively(self.working_dir) super(MovieLensTestNoShift, self).tearDown()
def test_delete_recursively(self): test_root = self.create_tempdir().full_path file_util.makedirs('%s/my/favorite/multilevel/directory' % test_root) file_util.delete_recursively('%s/my/favorite' % test_root) self.assertTrue(file_util.exists('%s/my' % test_root)) self.assertFalse(file_util.exists('%s/my/favorite' % test_root))
def tearDown(self): super().tearDown() file_util.delete_recursively(self.tempdir)