diff options
| author | Sean McGinnis <sean.mcginnis@gmail.com> | 2020-04-03 17:11:40 -0500 |
|---|---|---|
| committer | Sean McGinnis <sean.mcginnis@gmail.com> | 2020-04-03 17:11:40 -0500 |
| commit | 725e004d32d538f9d163c727308ee20385c0310d (patch) | |
| tree | fa14f47643789c7adf99d2d659556b1010f690bb /openstackclient | |
| parent | 70f1ff375ac82f8231c259d9bb671293199d0f67 (diff) | |
| download | python-openstackclient-725e004d32d538f9d163c727308ee20385c0310d.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: Ibd39328c27b68190e2edbf1f52fcea52db3ae791
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'openstackclient')
| -rw-r--r-- | openstackclient/tests/unit/identity/v3/test_access_rule.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/tests/unit/identity/v3/test_access_rule.py b/openstackclient/tests/unit/identity/v3/test_access_rule.py index f8b6093a..904fe323 100644 --- a/openstackclient/tests/unit/identity/v3/test_access_rule.py +++ b/openstackclient/tests/unit/identity/v3/test_access_rule.py @@ -14,8 +14,8 @@ # import copy +from unittest import mock -import mock from osc_lib import exceptions from osc_lib import utils |
