Use unittest.mock instead of third party mock

Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I4869426a4c39071a9e6d60c02ed13f8e5bb72536
This commit is contained in:
Ghanshyam Mann 2020-08-01 14:44:56 -05:00
parent 9995eee4c0
commit 2409d79d62
1 changed files with 2 additions and 1 deletions

View File

@ -13,8 +13,9 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from unittest import mock
import fixtures import fixtures
import mock
from oslo_config import cfg from oslo_config import cfg
import tempfile import tempfile