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/test_metadata_refresh.py | |
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/test_metadata_refresh.py')
-rw-r--r-- | heat/tests/test_metadata_refresh.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/heat/tests/test_metadata_refresh.py b/heat/tests/test_metadata_refresh.py index b638f3d36..da87ead4c 100644 --- a/heat/tests/test_metadata_refresh.py +++ b/heat/tests/test_metadata_refresh.py @@ -10,7 +10,8 @@ # License for the specific language governing permissions and limitations # under the License. -import mock +from unittest import mock + from oslo_serialization import jsonutils from heat.common import identifier |