mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 04:41:26 -07:00
Have unittests import mock from ansible.compat so they work on py3 without mock installed from pypi
This commit is contained in:
parent
ebc4d577de
commit
0139298786
4 changed files with 6 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue