diff options
| author | jacky06 <zhang.min@99cloud.net> | 2020-04-07 21:51:26 +0800 |
|---|---|---|
| committer | jacky06 <zhang.min@99cloud.net> | 2020-05-06 05:43:23 +0000 |
| commit | 8a9566864f678913bdcfcdfc7aac0e04e98d78b7 (patch) | |
| tree | 22cae24ccd8c9313da8e82147c732933e3e5ee0f /heatclient/tests/unit/test_common_http.py | |
| parent | ff1a116a5978b2889a827eb32aef098640dc1f25 (diff) | |
| download | python-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.py | 2 |
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 |
