Use tempest.lib data_utils - compute

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: Idfa9824d14a1e5e4291fcb70bb2c00caf9083d67
This commit is contained in:
Ken'ichi Ohmichi
2017-03-10 10:30:30 -08:00
parent be4fb50ff7
commit 757833a26e
52 changed files with 52 additions and 52 deletions

View File

@@ -13,7 +13,7 @@
# under the License.
from tempest.api.compute import base
from tempest.common.utils import data_utils
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators

View File

@@ -17,8 +17,8 @@ import testtools
from tempest.api.compute import base
from tempest.common import tempest_fixtures as fixtures
from tempest.common.utils import data_utils
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

View File

@@ -15,7 +15,7 @@
from tempest.api.compute import base
from tempest.common import tempest_fixtures as fixtures
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

@@ -16,7 +16,7 @@
import uuid
from tempest.api.compute 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

@@ -14,7 +14,7 @@
# under the License.
from tempest.api.compute 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

@@ -15,7 +15,7 @@
# under the License.
from tempest.api.compute 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

@@ -14,7 +14,7 @@
# under the License.
from tempest.api.compute 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

@@ -14,7 +14,7 @@
# under the License.
from tempest.api.compute.keypairs import base
from tempest.common.utils import data_utils
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators

View File

@@ -15,9 +15,9 @@
import testtools
from tempest.api.compute 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.lib import exceptions

View File

@@ -18,7 +18,7 @@ from testtools import matchers
from tempest.api.compute import base
from tempest.common import tempest_fixtures as fixtures
from tempest.common.utils import data_utils
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
LOG = logging.getLogger(__name__)

View File

@@ -13,8 +13,8 @@
# under the License.
from tempest.api.compute 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,7 +14,7 @@
# under the License.
from tempest.api.compute 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

@@ -15,8 +15,8 @@
from tempest.api.compute import base
from tempest.common import compute
from tempest.common import fixed_network
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
from tempest import test

View File

@@ -16,9 +16,9 @@ import testtools
from tempest.api.compute import base
from tempest.common import tempest_fixtures as fixtures
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.lib import exceptions as lib_exc
from tempest import test

View File

@@ -13,8 +13,8 @@
# under the License.
from tempest.api.compute 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

@@ -19,11 +19,11 @@ from oslo_log import log as logging
from tempest.api.compute import api_microversion_fixture
from tempest.common import compute
from tempest.common.utils import data_utils
from tempest.common import waiters
from tempest import config
from tempest import exceptions
from tempest.lib.common import api_version_utils
from tempest.lib.common.utils import data_utils
from tempest.lib.common.utils import test_utils
from tempest.lib import exceptions as lib_exc
import tempest.test

View File

@@ -19,8 +19,8 @@ import six
from tempest.api.compute import base
from tempest.common import image as common_image
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.compute.floating_ips 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.compute 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

@@ -17,9 +17,9 @@ import six
from tempest.api.compute import base
from tempest.common import image as common_image
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.lib import exceptions

View File

@@ -14,7 +14,7 @@
# under the License.
from tempest.api.compute 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,9 +13,9 @@
# under the License.
from tempest.api.compute 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,9 +13,9 @@
# under the License.
from tempest.api.compute 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.lib import exceptions as lib_exc
from tempest import test

View File

@@ -14,9 +14,9 @@
# under the License.
from tempest.api.compute 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

View File

@@ -17,9 +17,9 @@
from oslo_log import log as logging
from tempest.api.compute 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.lib import exceptions as lib_exc
from tempest import test

View File

@@ -20,9 +20,9 @@ import testtools
from tempest.api.compute import base
from tempest.common import image as common_image
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.lib import exceptions

View File

@@ -13,8 +13,8 @@
# under the License.
from tempest.api.compute 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,7 +14,7 @@
# under the License.
from tempest.api.compute import base
from tempest.common.utils import data_utils
from tempest.lib.common.utils import data_utils
class BaseKeypairTest(base.BaseV2ComputeTest):

View File

@@ -14,7 +14,7 @@
# under the License.
from tempest.api.compute.keypairs import base
from tempest.common.utils import data_utils
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators

View File

@@ -15,7 +15,7 @@
# under the License.
from tempest.api.compute.keypairs 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,7 +13,7 @@
# under the License.
from tempest.api.compute.keypairs import test_keypairs
from tempest.common.utils import data_utils
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators

View File

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

View File

@@ -14,7 +14,7 @@
# under the License.
from tempest.api.compute.security_groups 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

@@ -14,8 +14,8 @@
# under the License.
from tempest.api.compute.security_groups 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
from tempest.lib import exceptions as lib_exc
from tempest import test

View File

@@ -16,8 +16,8 @@
import testtools
from tempest.api.compute.security_groups 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

@@ -17,9 +17,9 @@ import netaddr
import testtools
from tempest.api.compute import base
from tempest.common.utils import data_utils
from tempest.common.utils.linux import remote_client
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 json
from oslo_log import log as logging
from tempest.api.compute import base
from tempest.common.utils import data_utils
from tempest.common.utils.linux import remote_client
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

@@ -14,7 +14,7 @@
# under the License.
from tempest.api.compute 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

@@ -16,9 +16,9 @@ import testtools
from tempest.api.compute import base
from tempest.common import fixed_network
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

View File

@@ -19,10 +19,10 @@ import testtools
from tempest.api.compute import base
from tempest.common import compute
from tempest.common.utils import data_utils
from tempest.common.utils.linux import remote_client
from tempest.common import waiters
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,7 +14,7 @@
# under the License.
from tempest.api.compute 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.compute 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

@@ -16,9 +16,9 @@
import testtools
from tempest.api.compute 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

@@ -16,9 +16,9 @@
import testtools
from tempest.api.compute 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.lib import exceptions as lib_exc
from tempest import test

View File

@@ -16,7 +16,7 @@
import six
from tempest.api.compute 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

@@ -16,9 +16,9 @@
import testtools
from tempest.api.compute 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

@@ -19,9 +19,9 @@ import testtools
from tempest.api.compute import base
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 import decorators
from tempest.lib import exceptions as lib_exc
from tempest import test

View File

@@ -14,9 +14,9 @@
# under the License.
from tempest.api.compute 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.lib import exceptions as lib_exc
from tempest import test

View File

@@ -16,9 +16,9 @@
import testtools
from tempest.api.compute 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

View File

@@ -16,9 +16,9 @@
from testtools import matchers
from tempest.api.compute 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

View File

@@ -14,8 +14,8 @@
# under the License.
from tempest.api.compute 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

@@ -17,10 +17,10 @@ from oslo_log import log as logging
from oslo_utils import excutils
from tempest.common import fixed_network
from tempest.common.utils import data_utils
from tempest.common import waiters
from tempest import config
from tempest.lib.common import rest_client
from tempest.lib.common.utils import data_utils
CONF = config.CONF