3033fd96b0
* Move ansible.compat.tests to test/units/compat/. * Fix unit test references to ansible.compat.tests. * Move builtins compat to separate file. * Fix classification of test/units/compat/ dir.
5 lines
183 B
Python
5 lines
183 B
Python
from units.compat.mock import MagicMock
|
|
from ansible.utils.path import unfrackpath
|
|
|
|
|
|
mock_unfrackpath_noop = MagicMock(spec_set=unfrackpath, side_effect=lambda x, *args, **kwargs: x)
|