diff options
author | Zuul <zuul@review.opendev.org> | 2020-06-09 18:14:00 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2020-06-09 18:14:00 +0000 |
commit | 670fe7ce2a31f3111bc3fb80dd80a43500daab87 (patch) | |
tree | 73560159fe538c9b85a7712bcfabfdbfc8e35741 /heatclient/tests/unit/osc/v1/test_snapshot.py | |
parent | 3fa304428c8837174d045bb271a397346e66a3d8 (diff) | |
parent | 8a9566864f678913bdcfcdfc7aac0e04e98d78b7 (diff) | |
download | python-heatclient-670fe7ce2a31f3111bc3fb80dd80a43500daab87.tar.gz |
Merge "Use unittest.mock instead of third party mock"2.2.0
Diffstat (limited to 'heatclient/tests/unit/osc/v1/test_snapshot.py')
-rw-r--r-- | heatclient/tests/unit/osc/v1/test_snapshot.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/heatclient/tests/unit/osc/v1/test_snapshot.py b/heatclient/tests/unit/osc/v1/test_snapshot.py index 7f69c61..1b99942 100644 --- a/heatclient/tests/unit/osc/v1/test_snapshot.py +++ b/heatclient/tests/unit/osc/v1/test_snapshot.py @@ -9,8 +9,9 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. -# -import mock + +from unittest import mock + from osc_lib import exceptions as exc import six |