From fd6cf83554db68752278d37f577ba984d9f831b2 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Sat, 18 Apr 2020 11:52:52 -0500 Subject: 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: I8f764e9ba46a4e2055be61eb0fe97d155ab1c70e Signed-off-by: Sean McGinnis --- heat/tests/api/openstack_v1/tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'heat/tests/api/openstack_v1/tools.py') diff --git a/heat/tests/api/openstack_v1/tools.py b/heat/tests/api/openstack_v1/tools.py index 7ed27ee33..63a8b0521 100644 --- a/heat/tests/api/openstack_v1/tools.py +++ b/heat/tests/api/openstack_v1/tools.py @@ -11,7 +11,8 @@ # License for the specific language governing permissions and limitations # under the License. -import mock +from unittest import mock + from oslo_config import cfg from oslo_log import log from oslo_messaging._drivers import common as rpc_common -- cgit v1.2.1