summaryrefslogtreecommitdiff
path: root/heatclient/tests/unit/test_common_http.py
diff options
context:
space:
mode:
authorjacky06 <zhang.min@99cloud.net>2020-04-07 21:51:26 +0800
committerjacky06 <zhang.min@99cloud.net>2020-05-06 05:43:23 +0000
commit8a9566864f678913bdcfcdfc7aac0e04e98d78b7 (patch)
tree22cae24ccd8c9313da8e82147c732933e3e5ee0f /heatclient/tests/unit/test_common_http.py
parentff1a116a5978b2889a827eb32aef098640dc1f25 (diff)
downloadpython-heatclient-8a9566864f678913bdcfcdfc7aac0e04e98d78b7.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: I5cf252c1a22977d3c87898e723e5001cc87a0d87
Diffstat (limited to 'heatclient/tests/unit/test_common_http.py')
-rw-r--r--heatclient/tests/unit/test_common_http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heatclient/tests/unit/test_common_http.py b/heatclient/tests/unit/test_common_http.py
index 17afa38..1d32ba1 100644
--- a/heatclient/tests/unit/test_common_http.py
+++ b/heatclient/tests/unit/test_common_http.py
@@ -13,9 +13,9 @@
# limitations under the License.
import socket
+from unittest import mock
from keystoneauth1 import adapter
-import mock
from oslo_serialization import jsonutils
import six
import testtools