diff options
author | Sean McGinnis <sean.mcginnis@gmail.com> | 2020-04-18 11:59:46 -0500 |
---|---|---|
committer | Sean McGinnis <sean.mcginnis@gmail.com> | 2020-04-18 11:59:46 -0500 |
commit | 2b8282bb1e254e7716eab106ca8cc0d6c0097a51 (patch) | |
tree | 69421dff2e41b0f63d7be67a01e2b339d5fe34aa /troveclient/compat | |
parent | e651e5de5143ad47715c7b41a8e06574ce296f23 (diff) | |
download | python-troveclient-2b8282bb1e254e7716eab106ca8cc0d6c0097a51.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: Ib83e626f51e6e01898bb7931c1660a1a548500f3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'troveclient/compat')
-rw-r--r-- | troveclient/compat/tests/test_auth.py | 2 | ||||
-rw-r--r-- | troveclient/compat/tests/test_common.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/troveclient/compat/tests/test_auth.py b/troveclient/compat/tests/test_auth.py index 134da92..b095048 100644 --- a/troveclient/compat/tests/test_auth.py +++ b/troveclient/compat/tests/test_auth.py @@ -15,8 +15,8 @@ # License for the specific language governing permissions and limitations # under the License. -import mock import testtools +from unittest import mock from troveclient.compat import auth from troveclient.compat import exceptions diff --git a/troveclient/compat/tests/test_common.py b/troveclient/compat/tests/test_common.py index d275d32..5a4b5a1 100644 --- a/troveclient/compat/tests/test_common.py +++ b/troveclient/compat/tests/test_common.py @@ -17,8 +17,8 @@ import collections import json import optparse import sys +from unittest import mock -import mock import testtools from troveclient.compat import common |