'accumulates total duration for nodeid from given report and updates
the Junit.testcase with the new total if already created.'

def update_testcase_duration(self, report):

    reporter = self.node_reporter(report)
    reporter.duration += getattr(report, 'duration', 0.0)
