mirror of https://github.com/ansible/ansible.git
ansible-test - Adjust unit test mock usage. (#77961)
parent
5a0b230e24
commit
23914d3f0b
@ -1,3 +1,2 @@
|
||||
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.
|
||||
- ansible-test - Avoid using the ``mock_use_standalone_module`` setting for unit tests running on Python 3.8 or later.
|
||||
|
@ -1,4 +0,0 @@
|
||||
[pytest]
|
||||
xfail_strict = true
|
||||
# avoid using 'mock_use_standalone_module = true' so package maintainers can avoid packaging 'mock'
|
||||
junit_family = xunit1
|
@ -1,4 +1,4 @@
|
||||
[pytest]
|
||||
xfail_strict = true
|
||||
mock_use_standalone_module = true
|
||||
# avoid using 'mock_use_standalone_module = true' so package maintainers can avoid packaging 'mock'
|
||||
junit_family = xunit1
|
||||
|
@ -0,0 +1,4 @@
|
||||
[pytest]
|
||||
xfail_strict = true
|
||||
mock_use_standalone_module = true
|
||||
junit_family = xunit1
|
Loading…
Reference in New Issue