docstr: accumulates total duration for nodeid from given report and updates
  the Junit.testcase with the new total if already created.
code: def update_testcase_duration(self, report):
      """accumulates total duration for nodeid from given report and updates
      the Junit.testcase with the new total if already created.
      """
      if (
          self.report_duration == "total"
          or report.when == self.report_duration
      ):
          reporter = self.node_reporter(report)
          reporter.duration += getattr(report, "duration", 0.0)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import functools
  import os
  import platform
  import re
  import sys
  import time
  from datetime import datetime
  import py
  import six
  import pytest
  from _pytest import nodes
  from _pytest.config import filename_arg
label_desc: Use image node_id 7 for calling the LogXML obj's underlying member method code with example usage: obj.update_testcase_duration(report) without return types