From 6b6166151faa3d811ae0ec3010a89e518a26287b Mon Sep 17 00:00:00 2001 From: CaptTrews Date: Thu, 16 Jan 2020 15:50:24 +0000 Subject: Updated from network content collector Signed-off-by: CaptTrews --- tests/unit/mock/path.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/unit/mock/path.py (limited to 'tests/unit/mock/path.py') diff --git a/tests/unit/mock/path.py b/tests/unit/mock/path.py new file mode 100644 index 00000000..aea8ba1e --- /dev/null +++ b/tests/unit/mock/path.py @@ -0,0 +1,7 @@ +from ansible_collections.vyos.vyos.tests.unit.compat.mock import MagicMock +from ansible.utils.path import unfrackpath + + +mock_unfrackpath_noop = MagicMock( + spec_set=unfrackpath, side_effect=lambda x, *args, **kwargs: x +) -- cgit v1.2.3