diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2017-03-22 18:30:44 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2017-03-22 18:30:44 +0100 |
commit | ddab452096d0f81505dd74b0ebddeff5af40f05c (patch) | |
tree | c42dfb2a1f72156b3424fb6d5b9cc40330c24d03 /tools/run_tests/python_utils/report_utils.py | |
parent | 0a6d30bc4c4a92fc946a69f8c2205c445fdafc59 (diff) | |
parent | b130275bb4c54562ac9341b12520e22b802a16d5 (diff) |
Merge branch 'master' of https://github.com/grpc/grpc into cpp_bazelness
Diffstat (limited to 'tools/run_tests/python_utils/report_utils.py')
-rw-r--r-- | tools/run_tests/python_utils/report_utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/run_tests/python_utils/report_utils.py b/tools/run_tests/python_utils/report_utils.py index 9dad60408f..131772f55f 100644 --- a/tools/run_tests/python_utils/report_utils.py +++ b/tools/run_tests/python_utils/report_utils.py @@ -40,6 +40,7 @@ except (ImportError): import os import string import xml.etree.cElementTree as ET +import six def _filter_msg(msg, output_format): @@ -63,7 +64,7 @@ def render_junit_xml_report(resultset, xml_report, suite_package='grpc', root = ET.Element('testsuites') testsuite = ET.SubElement(root, 'testsuite', id='1', package=suite_package, name=suite_name) - for shortname, results in resultset.iteritems(): + for shortname, results in six.iteritems(resultset): for result in results: xml_test = ET.SubElement(testsuite, 'testcase', name=shortname) if result.elapsed_time: |