Warning about record_testsuite_property not working with xdist

Related to #7767
This commit is contained in:
Bruno Oliveira 2020-09-19 12:36:08 -03:00
parent 9bfd14a443
commit c4ce5f2c98
1 changed files with 6 additions and 0 deletions

View File

@ -355,6 +355,12 @@ def record_testsuite_property(request: FixtureRequest) -> Callable[[str, object]
record_testsuite_property("STORAGE_TYPE", "CEPH")
``name`` must be a string, ``value`` will be converted to a string and properly xml-escaped.
.. warning::
Currently this fixture **does not work** with the
`pytest-xdist <https://github.com/pytest-dev/pytest-xdist>`__ plugin. See issue
`#7767 <https://github.com/pytest-dev/pytest/issues/7767>`__ for details.
"""
__tracebackhide__ = True