def getResults(self, test): (tcls, tname) = getTestInfo(test) key = tcls if tcls is None: key = tname res = None if not self.results.has_key(key): if tcls is not None: self.results[key] = MultiResults(test) else: self.results[key] = SimpleResults(test) return self.results[key]
def getTestName(self, test): (cls, name) = getTestInfo(test) return name