Debian Codegraph @

ansible_collections/splunk/es/tests/unit/mock/path.py

raw
1 from ansible.utils.path import unfrackpath
2
3 from ansible_collections.splunk.es.tests.unit.compat.mock import MagicMock
4
5
6 mock_unfrackpath_noop = MagicMock(
7 spec_set=unfrackpath,
8 side_effect=lambda x, *args, **kwargs: x,
9 )