diff options
author | Vipin Balachandran <vbala@vmware.com> | 2016-11-23 13:11:51 +0530 |
---|---|---|
committer | Vipin Balachandran <vbala@vmware.com> | 2016-11-23 13:25:45 +0530 |
commit | 8ee84ca8ea1ba3016cc4e2eaae7690c7e5468e17 (patch) | |
tree | ee80155c854b55c01ce11315cc6074989e8c774a /osprofiler/tests | |
parent | 7f8dfd65d269c14925734b14dd87fcbacb40d9fa (diff) | |
download | osprofiler-8ee84ca8ea1ba3016cc4e2eaae7690c7e5468e17.tar.gz |
Fix import order
As per OpenStack style guidelines, the import order is stdlib,
followed by third-party lib imports and finally project imports.
Fixing all violations of this guideline.
Change-Id: I3b7f1082c04b8d6b1f860cefc0f1a08ae8b803f6
Diffstat (limited to 'osprofiler/tests')
-rw-r--r-- | osprofiler/tests/test_opts.py | 1 | ||||
-rw-r--r-- | osprofiler/tests/test_profiler.py | 2 | ||||
-rw-r--r-- | osprofiler/tests/test_sqlalchemy.py | 1 | ||||
-rw-r--r-- | osprofiler/tests/test_web.py | 3 |
4 files changed, 4 insertions, 3 deletions
diff --git a/osprofiler/tests/test_opts.py b/osprofiler/tests/test_opts.py index 1997b98..c5963b9 100644 --- a/osprofiler/tests/test_opts.py +++ b/osprofiler/tests/test_opts.py @@ -15,6 +15,7 @@ import mock from oslo_config import fixture + from osprofiler import opts from osprofiler.tests import test diff --git a/osprofiler/tests/test_profiler.py b/osprofiler/tests/test_profiler.py index 88b96d1..87b3eea 100644 --- a/osprofiler/tests/test_profiler.py +++ b/osprofiler/tests/test_profiler.py @@ -16,9 +16,9 @@ import collections import copy import datetime -import mock import re +import mock import six from osprofiler import profiler diff --git a/osprofiler/tests/test_sqlalchemy.py b/osprofiler/tests/test_sqlalchemy.py index 83ada93..7534511 100644 --- a/osprofiler/tests/test_sqlalchemy.py +++ b/osprofiler/tests/test_sqlalchemy.py @@ -14,6 +14,7 @@ # under the License. import contextlib + import mock from osprofiler import sqlalchemy diff --git a/osprofiler/tests/test_web.py b/osprofiler/tests/test_web.py index 7355ae2..24b3906 100644 --- a/osprofiler/tests/test_web.py +++ b/osprofiler/tests/test_web.py @@ -18,9 +18,8 @@ from webob import response as webob_response from osprofiler import _utils as utils from osprofiler import profiler -from osprofiler import web - from osprofiler.tests import test +from osprofiler import web def dummy_app(environ, response): |