mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Have unittests import mock from ansible.compat so they work on py3 without mock installed from pypi
This commit is contained in:
@@ -21,8 +21,7 @@ __metaclass__ = type
|
||||
|
||||
from io import StringIO
|
||||
|
||||
import mock
|
||||
|
||||
from ansible.compat.tests import mock
|
||||
from ansible.compat.tests import unittest
|
||||
from ansible.errors import AnsibleError
|
||||
from ansible.playbook.play_context import PlayContext
|
||||
|
||||
Reference in New Issue
Block a user