summaryrefslogtreecommitdiff
path: root/heat/tests/openstack/barbican/test_secret.py
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@gmail.com>2020-04-18 11:52:52 -0500
committerSean McGinnis <sean.mcginnis@gmail.com>2020-05-05 08:42:11 -0500
commitfd6cf83554db68752278d37f577ba984d9f831b2 (patch)
tree1cc932608a8c5af19b39f574f66a92070a328745 /heat/tests/openstack/barbican/test_secret.py
parent368fdfff42d9cc4ff661a51ed87816834b9e3590 (diff)
downloadheat-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/openstack/barbican/test_secret.py')
-rw-r--r--heat/tests/openstack/barbican/test_secret.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heat/tests/openstack/barbican/test_secret.py b/heat/tests/openstack/barbican/test_secret.py
index ffcea6f8f..673ef40da 100644
--- a/heat/tests/openstack/barbican/test_secret.py
+++ b/heat/tests/openstack/barbican/test_secret.py
@@ -11,7 +11,7 @@
# License for the specific language governing permissions and limitations
# under the License.
-import mock
+from unittest import mock
from heat.common import exception
from heat.common import template_format