summaryrefslogtreecommitdiff
path: root/tests/unit/mock/path.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/mock/path.py')
-rw-r--r--tests/unit/mock/path.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/mock/path.py b/tests/unit/mock/path.py
index 3962f24..1f1b7f0 100644
--- a/tests/unit/mock/path.py
+++ b/tests/unit/mock/path.py
@@ -1,8 +1,10 @@
from __future__ import absolute_import, division, print_function
+
__metaclass__ = type
from ansible.utils.path import unfrackpath
from ansible_collections.vyos.vyos.tests.unit.compat.mock import MagicMock
+
mock_unfrackpath_noop = MagicMock(spec_set=unfrackpath, side_effect=lambda x, *args, **kwargs: x)