diff options
| author | Dina Belova <dbelova@mirantis.com> | 2013-06-04 12:24:15 +0400 |
|---|---|---|
| committer | Dina Belova <dbelova@mirantis.com> | 2013-06-04 13:47:19 +0400 |
| commit | 6d276814bf91b5406403191c76ea59f81a32f568 (patch) | |
| tree | 43db24e233e33d25c4acdddf4d5345cd42a45473 /tests/unit | |
| parent | e3e497915f0cc47bba10aad4ef5e940669801cb3 (diff) | |
| download | oslo-6d276814bf91b5406403191c76ea59f81a32f568.tar.gz oslo-6d276814bf91b5406403191c76ea59f81a32f568.tar.xz oslo-6d276814bf91b5406403191c76ea59f81a32f568.zip | |
Enable H306 hacking check.
H306 - imports not in alphabetical order.
Change-Id: Iaa93bcafed562833318ac86241ad36662c2d8ca6
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/rpc/test_qpid.py | 1 | ||||
| -rw-r--r-- | tests/unit/test_policy.py | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/unit/rpc/test_qpid.py b/tests/unit/rpc/test_qpid.py index 1630ac4..283a7d2 100644 --- a/tests/unit/rpc/test_qpid.py +++ b/tests/unit/rpc/test_qpid.py @@ -34,6 +34,7 @@ from tests import utils try: import qpid + from openstack.common.rpc import impl_qpid except ImportError: qpid = None diff --git a/tests/unit/test_policy.py b/tests/unit/test_policy.py index cc96168..33b291a 100644 --- a/tests/unit/test_policy.py +++ b/tests/unit/test_policy.py @@ -19,11 +19,11 @@ import os import urllib +import urllib2 import mock -from six import StringIO -import urllib2 from oslo.config import cfg +from six import StringIO from openstack.common import jsonutils from openstack.common import policy |
