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)
def _test_tmpdir(self, test): return os.path.join(self.root_tmpdir, mininet_test_util.flat_test_name(test.id()))