summaryrefslogtreecommitdiff
path: root/oslo_policy/tests/test_policy.py
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@gmail.com>2020-03-31 13:59:44 -0500
committerSean McGinnis <sean.mcginnis@gmail.com>2020-03-31 14:38:48 -0500
commitced4d8eae4a6399251840fb5ef95eb74ec497464 (patch)
tree7e2c7ae1de3b33dd1259119d8690ad275423a8a6 /oslo_policy/tests/test_policy.py
parentc483dee1f306b698448fbee9169038159209e916 (diff)
downloadoslo-policy-ced4d8eae4a6399251840fb5ef95eb74ec497464.tar.gz
Use unittest.mock instead of third party mock3.0.3
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: Ib1f840f0cb778219f7640a2ca307847a090de6aa Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'oslo_policy/tests/test_policy.py')
-rw-r--r--oslo_policy/tests/test_policy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_policy/tests/test_policy.py b/oslo_policy/tests/test_policy.py
index bc41054..f3f75b0 100644
--- a/oslo_policy/tests/test_policy.py
+++ b/oslo_policy/tests/test_policy.py
@@ -16,8 +16,8 @@
"""Test of Policy Engine"""
import os
+from unittest import mock
-import mock
from oslo_config import cfg
from oslo_context import context
from oslo_serialization import jsonutils