summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorNathaniel Case <this.is@nathanielca.se>2020-06-24 03:07:29 -0400
committerGitHub <noreply@github.com>2020-06-24 07:07:29 +0000
commit5bf1112c8c015bff6f54d4b17a3571f665381e1e (patch)
treec7d7e56324d876e4367f1a66352b525ff0963474 /tests/unit
parentb10796ee6a798d9cf27945a775794a3f4ab0100f (diff)
downloadvyos-ansible-old-5bf1112c8c015bff6f54d4b17a3571f665381e1e.tar.gz
vyos-ansible-old-5bf1112c8c015bff6f54d4b17a3571f665381e1e.zip
Clean up boilerplate ignores (#54)
Clean up boilerplate ignores Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/mock/path.py3
-rw-r--r--tests/unit/mock/yaml_helper.py3
-rw-r--r--tests/unit/modules/conftest.py3
-rw-r--r--tests/unit/modules/utils.py3
4 files changed, 12 insertions, 0 deletions
diff --git a/tests/unit/mock/path.py b/tests/unit/mock/path.py
index aea8ba1..74b02be 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 1a945f1..5df30aa 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
diff --git a/tests/unit/modules/conftest.py b/tests/unit/modules/conftest.py
index ac56c9c..e19a1e0 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 2c9c602..90023ce 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