From c4ce5f2c980d079e5d28d542b6c0f3adb5318a46 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sat, 19 Sep 2020 12:36:08 -0300 Subject: [PATCH] Warning about record_testsuite_property not working with xdist Related to #7767 --- src/_pytest/junitxml.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/_pytest/junitxml.py b/src/_pytest/junitxml.py index 0acfb49bc..877b9be78 100644 --- a/src/_pytest/junitxml.py +++ b/src/_pytest/junitxml.py @@ -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 `__ plugin. See issue + `#7767 `__ for details. """ __tracebackhide__ = True