mirror of https://github.com/ansible/ansible.git
[stable-2.13] ansible-test - Prefer unittest.mock for core.
(cherry picked from commit 81351022d8)
Co-authored-by: Matt Clay <matt@mystile.com>
pull/77986/head
parent
44ce9fe998
commit
2ac74197af
@ -0,0 +1,3 @@
|
|||||||
|
minor_changes:
|
||||||
|
- ansible-test - Avoid using the ``mock_use_standalone_module`` setting for ``pytest`` when running ansible-core unit tests.
|
||||||
|
This has no effect on unit tests for collections.
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
[pytest]
|
||||||
|
xfail_strict = true
|
||||||
|
# avoid using 'mock_use_standalone_module = true' so package maintainers can avoid packaging 'mock'
|
||||||
|
junit_family = xunit1
|
||||||
Loading…
Reference in New Issue