diff options
| author | Sean McGinnis <sean.mcginnis@gmail.com> | 2020-01-10 14:21:47 -0600 |
|---|---|---|
| committer | Sean McGinnis <sean.mcginnis@gmail.com> | 2020-01-10 14:21:47 -0600 |
| commit | 69db9fe73c81bc6341c37948365163902b6437ee (patch) | |
| tree | f1498a0f41426fd1a80e45f51e69f92bf250791c /openstackclient/tests/unit/image/v1 | |
| parent | d15bbada73f81136c966007d9c564dd6cfb2fd9c (diff) | |
| download | python-openstackclient-69db9fe73c81bc6341c37948365163902b6437ee.tar.gz | |
Raise flake8-import-order version to latest
We had this library capped at a release that is a few years old. Now
that we have dropped py2 testing, we can pick up the latest version.
This uncovered a few things to clean up. Mostly the fact that mock is
now a part of the StdLib unittest since Python 3.3.
Change-Id: I27484dd4c25378413ff16e97a35a1a46062357bc
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'openstackclient/tests/unit/image/v1')
| -rw-r--r-- | openstackclient/tests/unit/image/v1/fakes.py | 3 | ||||
| -rw-r--r-- | openstackclient/tests/unit/image/v1/test_image.py | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/openstackclient/tests/unit/image/v1/fakes.py b/openstackclient/tests/unit/image/v1/fakes.py index bbec00fc..de232235 100644 --- a/openstackclient/tests/unit/image/v1/fakes.py +++ b/openstackclient/tests/unit/image/v1/fakes.py @@ -14,10 +14,9 @@ # import copy +from unittest import mock import uuid -import mock - from openstackclient.tests.unit import fakes from openstackclient.tests.unit import utils from openstackclient.tests.unit.volume.v1 import fakes as volume_fakes diff --git a/openstackclient/tests/unit/image/v1/test_image.py b/openstackclient/tests/unit/image/v1/test_image.py index 0997d765..970b36c6 100644 --- a/openstackclient/tests/unit/image/v1/test_image.py +++ b/openstackclient/tests/unit/image/v1/test_image.py @@ -14,8 +14,7 @@ # import copy - -import mock +from unittest import mock from osc_lib.cli import format_columns from osc_lib import exceptions |
