summaryrefslogtreecommitdiff
path: root/tests/unit/modules
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/modules')
-rw-r--r--tests/unit/modules/conftest.py3
-rw-r--r--tests/unit/modules/utils.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit/modules/conftest.py b/tests/unit/modules/conftest.py
index ac56c9c7..e19a1e04 100644
--- a/tests/unit/modules/conftest.py
+++ b/tests/unit/modules/conftest.py
@@ -1,5 +1,8 @@
# Copyright (c) 2017 Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
+from __future__ import absolute_import, division, print_function
+
+__metaclass__ = type
import json
diff --git a/tests/unit/modules/utils.py b/tests/unit/modules/utils.py
index 2c9c602e..90023ced 100644
--- a/tests/unit/modules/utils.py
+++ b/tests/unit/modules/utils.py
@@ -1,3 +1,6 @@
+from __future__ import absolute_import, division, print_function
+
+__metaclass__ = type
import json
from ansible_collections.vyos.vyos.tests.unit.compat import unittest