338 maxIndex = None |
338 maxIndex = None |
339 |
339 |
340 testResultsToBeAdded = [] |
340 testResultsToBeAdded = [] |
341 |
341 |
342 for testResult in testResults: |
342 for testResult in testResults: |
343 for (index, currentResult) in enumerate(self.__testResults): |
343 for index, currentResult in enumerate(self.__testResults): |
344 if currentResult.id == testResult.id: |
344 if currentResult.id == testResult.id: |
345 self.__testResults[index] = testResult |
345 self.__testResults[index] = testResult |
346 if minIndex is None: |
346 if minIndex is None: |
347 minIndex = index |
347 minIndex = index |
348 maxIndex = index |
348 maxIndex = index |