summaryrefslogtreecommitdiff
path: root/heat/tests/test_auth_password.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/test_auth_password.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/test_auth_password.py')
-rw-r--r--heat/tests/test_auth_password.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/heat/tests/test_auth_password.py b/heat/tests/test_auth_password.py
index e1a207ab1..ee06d8b1e 100644
--- a/heat/tests/test_auth_password.py
+++ b/heat/tests/test_auth_password.py
@@ -14,8 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+from unittest import mock
+
from keystoneauth1 import exceptions as keystone_exc
-import mock
from oslo_config import cfg
import webob