示例#1
0
 def tearDown(self):
     super(MovielensRnnAgentTest, self).tearDown()
     file_util.delete_recursively(self.workdir)
示例#2
0
 def tearDown(self):
   file_util.delete_recursively(self.working_dir)
   super(MovieLensTestNoShift, self).tearDown()
示例#3
0
 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))
示例#4
0
 def tearDown(self):
     super().tearDown()
     file_util.delete_recursively(self.tempdir)