summaryrefslogtreecommitdiff
path: root/glanceclient/tests/unit/test_utils.py
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@gmail.com>2020-04-18 11:58:08 -0500
committerSean McGinnis <sean.mcginnis@gmail.com>2020-04-18 11:58:08 -0500
commit6a045884cb090bbc1daf1af853a243452a7aab16 (patch)
treea2cb71b0b0aec41e20c5dd706753c5c95216f0f5 /glanceclient/tests/unit/test_utils.py
parent53254753c444ee6ebd50d93b20adbb87cea329bb (diff)
downloadpython-glanceclient-6a045884cb090bbc1daf1af853a243452a7aab16.tar.gz
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: I446ee142c7a17446372c910f7f2a36d55df18e04 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'glanceclient/tests/unit/test_utils.py')
-rw-r--r--glanceclient/tests/unit/test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glanceclient/tests/unit/test_utils.py b/glanceclient/tests/unit/test_utils.py
index 3ef585a..6128d6c 100644
--- a/glanceclient/tests/unit/test_utils.py
+++ b/glanceclient/tests/unit/test_utils.py
@@ -14,8 +14,8 @@
# under the License.
import sys
+from unittest import mock
-import mock
from oslo_utils import encodeutils
from requests import Response
import six