[stable-2.13] Use unittest.mock instead of mock. (#77883)

This can only be done for controller tests.
(cherry picked from commit 3a9a23fb1a)

Co-authored-by: Matt Clay <matt@mystile.com>
This commit is contained in:
Matt Clay
2022-05-23 11:04:56 -07:00
parent 93b8ccda21
commit 47e1cc38fd
47 changed files with 48 additions and 48 deletions

View File

@ -23,7 +23,7 @@ import os
import shutil
import tempfile
import mock
from unittest import mock
from units.compat import unittest
from ansible.errors import AnsibleError