Use unittest.mock instead of third party mock

Now that we don't need to support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I67b86898cb443dc02c6b41a78bfe54f43f8d6c74
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2020-03-13 11:44:15 -05:00
parent f391092a72
commit d00f48987f
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8

View File

@ -22,8 +22,8 @@ Tests for `upgradecheck` module.
import os.path
import subprocess
import sys
from unittest import mock
import mock
from oslo_config import cfg
from oslotest import base