summaryrefslogtreecommitdiff
path: root/tests/unit/mock
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/mock')
-rw-r--r--tests/unit/mock/path.py3
-rw-r--r--tests/unit/mock/yaml_helper.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit/mock/path.py b/tests/unit/mock/path.py
index aea8ba1e..74b02be8 100644
--- a/tests/unit/mock/path.py
+++ b/tests/unit/mock/path.py
@@ -1,3 +1,6 @@
+from __future__ import absolute_import, division, print_function
+
+__metaclass__ = type
from ansible_collections.vyos.vyos.tests.unit.compat.mock import MagicMock
from ansible.utils.path import unfrackpath
diff --git a/tests/unit/mock/yaml_helper.py b/tests/unit/mock/yaml_helper.py
index 1a945f1b..5df30aae 100644
--- a/tests/unit/mock/yaml_helper.py
+++ b/tests/unit/mock/yaml_helper.py
@@ -1,3 +1,6 @@
+from __future__ import absolute_import, division, print_function
+
+__metaclass__ = type
import io
import yaml