예제 #1
0
 def addSuccess(self, test):
     self.successes.append((test, ''))
     test_tmpdir = os.path.join(self.root_tmpdir,
                                mininet_test_util.flat_test_name(test.id()))
     shutil.rmtree(test_tmpdir)
     super(CleanupResult, self).addSuccess(test)
예제 #2
0
 def _test_tmpdir(self, test):
     return os.path.join(self.root_tmpdir,
                         mininet_test_util.flat_test_name(test.id()))