summaryrefslogtreecommitdiffstats
path: root/test/units/galaxy/test_collection.py
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2022-02-23 03:20:11 +0100
committerGitHub <noreply@github.com>2022-02-23 03:20:11 +0100
commit1a5853d794d921daf21ff41c5bf381ecda2625cd (patch)
tree4b0d34bb3b820640b5d26b0e53cbac853497574e /test/units/galaxy/test_collection.py
parentMore strict pylint checking of ansible-test code. (diff)
downloadansible-1a5853d794d921daf21ff41c5bf381ecda2625cd.tar.xz
ansible-1a5853d794d921daf21ff41c5bf381ecda2625cd.zip
Remove obsolete units.compat.mock compat layer. (#77118)
* Remove obsolete units.compat.mock compat layer. * Update remaining units.compat.mock references.
Diffstat (limited to 'test/units/galaxy/test_collection.py')
-rw-r--r--test/units/galaxy/test_collection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/galaxy/test_collection.py b/test/units/galaxy/test_collection.py
index 65243df151..887ebe8918 100644
--- a/test/units/galaxy/test_collection.py
+++ b/test/units/galaxy/test_collection.py
@@ -15,7 +15,7 @@ import uuid
from hashlib import sha256
from io import BytesIO
-from units.compat.mock import MagicMock, mock_open, patch
+from mock import MagicMock, mock_open, patch
import ansible.constants as C
from ansible import context