Merge pull request #7773 from nicoddemus/xml-properties-xdist-docs

Warning about record_testsuite_property not working with xdist

(cherry picked from commit 4e460cdd9e)
This commit is contained in:
Ran Benita 2020-09-19 21:06:40 +03:00
parent d7d089469e
commit ae61fa4040
1 changed files with 6 additions and 0 deletions

View File

@ -377,6 +377,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