summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit/compute/v2/test_server.py
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@gmail.com>2020-01-10 14:21:47 -0600
committerSean McGinnis <sean.mcginnis@gmail.com>2020-01-10 14:21:47 -0600
commit69db9fe73c81bc6341c37948365163902b6437ee (patch)
treef1498a0f41426fd1a80e45f51e69f92bf250791c /openstackclient/tests/unit/compute/v2/test_server.py
parentd15bbada73f81136c966007d9c564dd6cfb2fd9c (diff)
downloadpython-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/compute/v2/test_server.py')
-rw-r--r--openstackclient/tests/unit/compute/v2/test_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/tests/unit/compute/v2/test_server.py b/openstackclient/tests/unit/compute/v2/test_server.py
index c2bac277..b3be5147 100644
--- a/openstackclient/tests/unit/compute/v2/test_server.py
+++ b/openstackclient/tests/unit/compute/v2/test_server.py
@@ -16,9 +16,9 @@ import argparse
import collections
import copy
import getpass
+from unittest import mock
+from unittest.mock import call
-import mock
-from mock import call
from novaclient import api_versions
from openstack import exceptions as sdk_exceptions
from osc_lib import exceptions