code: def record_testsuite_property(request):
      """
      Records a new ``<property>`` tag as child of the root ``<testsuite>``. This is suitable to
      writing global information regarding the entire test suite, and is compatible with ``xunit2`` JUnit family.
  
      This is a ``session``-scoped fixture which is called with ``(name, value)``. Example:
  
      .. code-block:: python
  
          def test_foo(record_testsuite_property):
              record_testsuite_property("ARCH", "PPC")
              record_testsuite_property("STORAGE_TYPE", "CEPH")
  
      ``name`` must be a string, ``value`` will be converted to a string and properly xml-escaped.
      """
  
      __tracebackhide__ = True
  
      def record_func(name, value):
          """noop function in case --junitxml was not passed in the command-line"""
          __tracebackhide__ = True
          _check_record_param_type("name", name)
  
      xml = getattr(request.config, "_xml", None)
      if xml is not None:
          record_func = xml.add_global_property  # noqa
      return record_func
  
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 a global function with example usage: record_testsuite_property(request) and returns: record_func