mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Migrate the v2/tests to use the ansible.compat module
This commit is contained in:
@@ -19,12 +19,13 @@
|
||||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
from .. compat import unittest
|
||||
from ansible.compat.tests import unittest
|
||||
|
||||
from ansible.parsing.yaml.objects import AnsibleBaseYAMLObject
|
||||
from ansible.errors import AnsibleError
|
||||
|
||||
from .. compat import BUILTINS, mock_open, patch
|
||||
from ansible.compat.tests import BUILTINS
|
||||
from ansible.compat.tests.mock import mock_open, patch
|
||||
|
||||
class TestErrors(unittest.TestCase):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user