summaryrefslogtreecommitdiff
path: root/keystoneclient/tests/unit/test_keyring.py
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@gmail.com>2020-04-18 11:58:31 -0500
committerSean McGinnis <sean.mcginnis@gmail.com>2020-04-18 11:58:31 -0500
commitee55c043c26a3e135e898792fb051a64d960559b (patch)
treee06846b4437dd0ef737ce6fb87d0a1e06dea0918 /keystoneclient/tests/unit/test_keyring.py
parenta9d01eef93eef576bcecabf54e86c3a7a49651c8 (diff)
downloadpython-keystoneclient-ee55c043c26a3e135e898792fb051a64d960559b.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: I7498ea2353cccca7b23d9ef74015a566ac431f90 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'keystoneclient/tests/unit/test_keyring.py')
-rw-r--r--keystoneclient/tests/unit/test_keyring.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystoneclient/tests/unit/test_keyring.py b/keystoneclient/tests/unit/test_keyring.py
index 7d30d98..0a5bf71 100644
--- a/keystoneclient/tests/unit/test_keyring.py
+++ b/keystoneclient/tests/unit/test_keyring.py
@@ -11,8 +11,8 @@
# under the License.
import datetime
+from unittest import mock
-import mock
from oslo_utils import timeutils
from keystoneclient import access