adjust import group order in db2 ut code
The recommended import group order is builtins, third party then project own modules. However hacking can only detect mixed group, but cannot detect disordered groups. This patch adjust import group order in ceilometer/tests/storage/test_impl_db2.py to follow common style. Change-Id: I6bf12dfb5d748349c0b646ffcc58468b42ef358c ref: http://docs.openstack.org/developer/hacking/#import-order-template
This commit is contained in:
parent
889cc51483
commit
c1faaa10f1
@ -23,17 +23,17 @@
|
||||
|
||||
"""
|
||||
|
||||
import bson
|
||||
import mock
|
||||
from oslo_config import cfg
|
||||
from oslo_utils import timeutils
|
||||
|
||||
from ceilometer.alarm.storage import impl_db2 as impl_db2_alarm
|
||||
from ceilometer.event.storage import impl_db2 as impl_db2_event
|
||||
from ceilometer.storage import impl_db2
|
||||
from ceilometer.storage.mongo import utils as pymongo_utils
|
||||
from ceilometer.tests import base as test_base
|
||||
|
||||
import bson
|
||||
import mock
|
||||
from oslo_config import cfg
|
||||
from oslo_utils import timeutils
|
||||
|
||||
|
||||
class CapabilitiesTest(test_base.BaseTestCase):
|
||||
# Check the returned capabilities list, which is specific to each DB
|
||||
|
Loading…
Reference in New Issue
Block a user