diff options
author | Petr Blaho <petrblaho@gmail.com> | 2014-06-12 14:55:00 +0200 |
---|---|---|
committer | Petr Blaho <petrblaho@gmail.com> | 2014-08-03 16:38:22 +0200 |
commit | a3ca010d0a18ef58302c46f01f5a5053cde6be90 (patch) | |
tree | fd923807aa401407c47c3ff4d9752044ea6d0e2d /tests | |
parent | fc2fc90eb0af88303914ca9271165da399f08c5c (diff) | |
download | oslo-db-a3ca010d0a18ef58302c46f01f5a5053cde6be90.tar.gz |
Changes import orders to pass H305 check
Changes import orders to H305 check in hacking 0.9.x
Leaves H305 in ignore setting in tox.ini
due to hacking is confused by oslo.* namespace
when checking import rules
see https://bugs.launchpad.net/hacking/+bug/1329363
Change-Id: I1701574b5e1a8cde1a044cda90a0c95360bb0825
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sqlalchemy/test_sqlalchemy.py | 2 | ||||
-rw-r--r-- | tests/sqlalchemy/test_utils.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/sqlalchemy/test_sqlalchemy.py b/tests/sqlalchemy/test_sqlalchemy.py index a6278d5..ff8d9ba 100644 --- a/tests/sqlalchemy/test_sqlalchemy.py +++ b/tests/sqlalchemy/test_sqlalchemy.py @@ -20,13 +20,13 @@ import logging import fixtures import mock +from oslo.config import cfg from oslotest import base as oslo_test import sqlalchemy from sqlalchemy import Column, MetaData, Table from sqlalchemy import Integer, String from sqlalchemy.ext.declarative import declarative_base -from oslo.config import cfg from oslo.db import exception from oslo.db import options as db_options from oslo.db.sqlalchemy import models diff --git a/tests/sqlalchemy/test_utils.py b/tests/sqlalchemy/test_utils.py index 231d106..3395163 100644 --- a/tests/sqlalchemy/test_utils.py +++ b/tests/sqlalchemy/test_utils.py @@ -13,10 +13,10 @@ # License for the specific language governing permissions and limitations # under the License. -import fixtures import uuid import warnings +import fixtures from migrate.changeset import UniqueConstraint import mock from oslotest import base as test_base |