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/osc/v1/test_software_deployment.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/osc/v1/test_software_deployment.py')
-rw-r--r-- | heatclient/tests/unit/osc/v1/test_software_deployment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/heatclient/tests/unit/osc/v1/test_software_deployment.py b/heatclient/tests/unit/osc/v1/test_software_deployment.py index 96ec84c..9edb6a9 100644 --- a/heatclient/tests/unit/osc/v1/test_software_deployment.py +++ b/heatclient/tests/unit/osc/v1/test_software_deployment.py @@ -12,8 +12,8 @@ # import copy +from unittest import mock -import mock from osc_lib import exceptions as exc from heatclient import exc as heat_exc |