summaryrefslogtreecommitdiffstats
path: root/test/lib/ansible_test/_data/pytest.ini
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/ansible_test/_data/pytest.ini')
-rw-r--r--test/lib/ansible_test/_data/pytest.ini9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/lib/ansible_test/_data/pytest.ini b/test/lib/ansible_test/_data/pytest.ini
new file mode 100644
index 00000000..2ac56423
--- /dev/null
+++ b/test/lib/ansible_test/_data/pytest.ini
@@ -0,0 +1,9 @@
+[pytest]
+xfail_strict = true
+mock_use_standalone_module = true
+# It was decided to stick with "legacy" (aka "xunit1") for now.
+# Currently used pytest versions all support xunit2 format too.
+# Except the one used under Python 2.6 — it doesn't process this option
+# at all. Ref:
+# https://github.com/ansible/ansible/pull/66445#discussion_r372530176
+junit_family = xunit1