class_docstr: A test result class that can express test results in a XML report.
  
  Used by XMLTestRunner.
docstr: Called when a test executes successfully.
docstr_tok: ["Called","when","a","test","executes","successfully","."]
code: def addSuccess(self, test):
      "Called when a test executes successfully."
      self._prepare_callback(
          _TestInfo(self, test), self.successes, "OK", "."
      )
  
imports: from __future__ import absolute_import
  import os
  import sys
  import time
  from unittest import TestResult, TextTestResult, TextTestRunner
  import xml.dom.minidom
label_desc: Use image node_id 7 for calling the _XMLTestResult obj's underlying member method code with example usage: obj.addSuccess(test) without return types