Use oslo.utils

oslo.utils library now provides the functionality previously in
oslo-incubator's excutils, importutils, network_utils, strutils
timeutils, units etc. Some of these outdated modules will still be
around for a while until all other oslo modules that use them have been
updated in future commits.

Change-Id: Idee8600dfe42e5977b8fb824e91afff7e9119981
This commit is contained in:
ChangBo Guo(gcb)
2014-11-10 16:53:18 +08:00
parent 1d77d79f81
commit 7d341e267f
152 changed files with 260 additions and 450 deletions

View File

@@ -32,6 +32,8 @@ import mock
import mox
from oslo.config import cfg
from oslo.messaging import conffixture as messaging_conffixture
from oslo.utils import strutils
from oslo.utils import timeutils
import stubout
import testtools
from testtools import matchers
@@ -40,8 +42,6 @@ from cinder.common import config # noqa Need to register global_opts
from cinder.db import migration
from cinder.db.sqlalchemy import api as sqla_api
from cinder.openstack.common import log as oslo_logging
from cinder.openstack.common import strutils
from cinder.openstack.common import timeutils
from cinder import rpc
from cinder import service
from cinder.tests import conf_fixture