diff options
author | Sean McGinnis <sean.mcginnis@gmail.com> | 2020-04-18 11:52:52 -0500 |
---|---|---|
committer | Sean McGinnis <sean.mcginnis@gmail.com> | 2020-05-05 08:42:11 -0500 |
commit | fd6cf83554db68752278d37f577ba984d9f831b2 (patch) | |
tree | 1cc932608a8c5af19b39f574f66a92070a328745 /heat/tests/api/aws | |
parent | 368fdfff42d9cc4ff661a51ed87816834b9e3590 (diff) | |
download | heat-fd6cf83554db68752278d37f577ba984d9f831b2.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: I8f764e9ba46a4e2055be61eb0fe97d155ab1c70e
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'heat/tests/api/aws')
-rw-r--r-- | heat/tests/api/aws/test_api_ec2token.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/heat/tests/api/aws/test_api_ec2token.py b/heat/tests/api/aws/test_api_ec2token.py index 40cc5de2c..af1305f60 100644 --- a/heat/tests/api/aws/test_api_ec2token.py +++ b/heat/tests/api/aws/test_api_ec2token.py @@ -13,7 +13,7 @@ import json -import mock +from unittest import mock from oslo_config import cfg from oslo_utils import importutils |