Use tempest.lib data_utils - volume

Tempest has duplicated modules of data_utils, one is tempest.lib and
the other is tempest.common. The difference is tempest.common module
refers to the config option resources_prefix. And the option is marked
as deprecated already. So it is nice to replace the calls with tempest.lib
one.

Change-Id: I90cd12ac7a8050125956654feb0fa8a221e7958e
This commit is contained in:
Ken'ichi Ohmichi 2017-03-10 11:07:10 -08:00 committed by Ken'ichi Ohmichi
parent 32cac095fa
commit ef1c1ce761
17 changed files with 17 additions and 17 deletions

View File

@ -12,9 +12,9 @@
import six
from tempest.api.volume import base
from tempest.common.utils import data_utils
from tempest.common import waiters
from tempest import config
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
CONF = config.CONF

View File

@ -13,8 +13,8 @@
# under the License.
from tempest.api.volume import base
from tempest.common.utils import data_utils as utils
from tempest.common import waiters
from tempest.lib.common.utils import data_utils as utils
from tempest.lib import decorators

View File

@ -13,8 +13,8 @@
# under the License.
from tempest.api.volume import base
from tempest.common.utils import data_utils
from tempest.common import waiters
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
QUOTA_KEYS = ['gigabytes', 'snapshots', 'volumes', 'backups']

View File

@ -14,9 +14,9 @@
# under the License.
from tempest.api.volume import base
from tempest.common.utils import data_utils
from tempest.common import waiters
from tempest import config
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
CONF = config.CONF

View File

@ -14,7 +14,7 @@
# under the License.
from tempest.api.volume import base
from tempest.common.utils import data_utils
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
from tempest.lib import exceptions as lib_exc
from tempest import test

View File

@ -17,9 +17,9 @@ from oslo_serialization import base64
from oslo_serialization import jsonutils as json
from tempest.api.volume import base
from tempest.common.utils import data_utils
from tempest.common import waiters
from tempest import config
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
CONF = config.CONF

View File

@ -14,8 +14,8 @@
# under the License.
from tempest.api.volume.v3 import base
from tempest.common.utils import data_utils
from tempest import config
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
CONF = config.CONF

View File

@ -14,9 +14,9 @@
# under the License.
from tempest.common import compute
from tempest.common.utils import data_utils
from tempest.common import waiters
from tempest import config
from tempest.lib.common.utils import data_utils
from tempest.lib.common.utils import test_utils
from tempest.lib import exceptions
import tempest.test

View File

@ -14,9 +14,9 @@
# under the License.
from tempest.api.volume import base
from tempest.common.utils import data_utils
from tempest.common import waiters
from tempest import config
from tempest.lib.common.utils import data_utils
from tempest.lib.common.utils import test_utils
from tempest.lib import decorators
from tempest.lib import exceptions

View File

@ -16,9 +16,9 @@
from testtools import matchers
from tempest.api.volume import base
from tempest.common.utils import data_utils
from tempest.common import waiters
from tempest import config
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
from tempest import test

View File

@ -17,9 +17,9 @@ import testtools
from testtools import matchers
from tempest.api.volume import base
from tempest.common.utils import data_utils
from tempest.common import waiters
from tempest import config
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
from tempest import test

View File

@ -18,7 +18,7 @@ import operator
from testtools import matchers
from tempest.api.volume import base
from tempest.common.utils import data_utils
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
from tempest import test

View File

@ -14,7 +14,7 @@
# under the License.
from tempest.api.volume import base
from tempest.common.utils import data_utils
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
from tempest.lib import exceptions as lib_exc
from tempest import test

View File

@ -13,8 +13,8 @@
from testtools import matchers
from tempest.api.volume import base
from tempest.common.utils import data_utils
from tempest import config
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
from tempest import test

View File

@ -11,8 +11,8 @@
# under the License.
from tempest.api.volume import base
from tempest.common.utils import data_utils
from tempest import config
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
from tempest.lib import exceptions as lib_exc
from tempest import test

View File

@ -14,8 +14,8 @@
# under the License.
from tempest.api.volume import base
from tempest.common.utils import data_utils
from tempest import config
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
from tempest.lib import exceptions as lib_exc
from tempest import test

View File

@ -15,7 +15,7 @@ from oslo_log import log as logging
from tempest import config
from tempest.common.utils import data_utils
from tempest.lib.common.utils import data_utils
from tempest.lib import exceptions as lib_exc
CONF = config.CONF