diff options
author | Ken'ichi Ohmichi <ken-oomichi@wx.jp.nec.com> | 2017-03-10 10:45:39 -0800 |
---|---|---|
committer | Ken'ichi Ohmichi <ken-oomichi@wx.jp.nec.com> | 2017-03-10 10:45:39 -0800 |
commit | 7bd2575abe3b5e99b9675dc2cf58ca7c72649309 (patch) | |
tree | 20b432547d5045e69c21bb5f17e190c8bca84ff8 | |
parent | 757833a26ec66ff62e2503214e584eef7e785560 (diff) | |
download | tempest-7bd2575abe3b5e99b9675dc2cf58ca7c72649309.tar.gz |
Use tempest.lib data_utils - identity
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: Ibd98d212ae4fc2d581ad944cc004addee77e4281
30 files changed, 30 insertions, 30 deletions
diff --git a/tempest/api/identity/admin/v2/test_endpoints.py b/tempest/api/identity/admin/v2/test_endpoints.py index 0ea2eb3ad..db32f5a4d 100644 --- a/tempest/api/identity/admin/v2/test_endpoints.py +++ b/tempest/api/identity/admin/v2/test_endpoints.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity import base -from tempest.common.utils import data_utils +from tempest.lib.common.utils import data_utils from tempest.lib import decorators diff --git a/tempest/api/identity/admin/v2/test_roles.py b/tempest/api/identity/admin/v2/test_roles.py index 799b65304..479663c0f 100644 --- a/tempest/api/identity/admin/v2/test_roles.py +++ b/tempest/api/identity/admin/v2/test_roles.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity import base -from tempest.common.utils import data_utils +from tempest.lib.common.utils import data_utils from tempest.lib.common.utils import test_utils from tempest.lib import decorators diff --git a/tempest/api/identity/admin/v2/test_roles_negative.py b/tempest/api/identity/admin/v2/test_roles_negative.py index b017b442b..f80721c83 100644 --- a/tempest/api/identity/admin/v2/test_roles_negative.py +++ b/tempest/api/identity/admin/v2/test_roles_negative.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v2/test_services.py b/tempest/api/identity/admin/v2/test_services.py index 3b0ddbbe9..f6d4a241a 100644 --- a/tempest/api/identity/admin/v2/test_services.py +++ b/tempest/api/identity/admin/v2/test_services.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v2/test_tenant_negative.py b/tempest/api/identity/admin/v2/test_tenant_negative.py index e8c32b9a6..69f0920d2 100644 --- a/tempest/api/identity/admin/v2/test_tenant_negative.py +++ b/tempest/api/identity/admin/v2/test_tenant_negative.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v2/test_tenants.py b/tempest/api/identity/admin/v2/test_tenants.py index eb51b5a51..6b7413c24 100644 --- a/tempest/api/identity/admin/v2/test_tenants.py +++ b/tempest/api/identity/admin/v2/test_tenants.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity import base -from tempest.common.utils import data_utils +from tempest.lib.common.utils import data_utils from tempest.lib.common.utils import test_utils from tempest.lib import decorators diff --git a/tempest/api/identity/admin/v2/test_tokens.py b/tempest/api/identity/admin/v2/test_tokens.py index 7b5e01e04..3428c07c1 100644 --- a/tempest/api/identity/admin/v2/test_tokens.py +++ b/tempest/api/identity/admin/v2/test_tokens.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity import base -from tempest.common.utils import data_utils +from tempest.lib.common.utils import data_utils from tempest.lib import decorators diff --git a/tempest/api/identity/admin/v2/test_users.py b/tempest/api/identity/admin/v2/test_users.py index 588981323..df4ded85f 100644 --- a/tempest/api/identity/admin/v2/test_users.py +++ b/tempest/api/identity/admin/v2/test_users.py @@ -18,7 +18,7 @@ import time from testtools import matchers from tempest.api.identity import base -from tempest.common.utils import data_utils +from tempest.lib.common.utils import data_utils from tempest.lib.common.utils import test_utils from tempest.lib import decorators from tempest import test diff --git a/tempest/api/identity/admin/v2/test_users_negative.py b/tempest/api/identity/admin/v2/test_users_negative.py index 49fda4ec9..442c1a7c3 100644 --- a/tempest/api/identity/admin/v2/test_users_negative.py +++ b/tempest/api/identity/admin/v2/test_users_negative.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v3/test_credentials.py b/tempest/api/identity/admin/v3/test_credentials.py index e5a218d10..c75253208 100644 --- a/tempest/api/identity/admin/v3/test_credentials.py +++ b/tempest/api/identity/admin/v3/test_credentials.py @@ -15,7 +15,7 @@ from oslo_serialization import jsonutils as json from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v3/test_default_project_id.py b/tempest/api/identity/admin/v3/test_default_project_id.py index 110695dfb..c2ab48896 100644 --- a/tempest/api/identity/admin/v3/test_default_project_id.py +++ b/tempest/api/identity/admin/v3/test_default_project_id.py @@ -11,9 +11,9 @@ # under the License. from tempest.api.identity import base from tempest import clients -from tempest.common.utils import data_utils from tempest import config from tempest.lib import auth +from tempest.lib.common.utils import data_utils from tempest.lib import decorators CONF = config.CONF diff --git a/tempest/api/identity/admin/v3/test_domains.py b/tempest/api/identity/admin/v3/test_domains.py index 4cf9f66ed..d04e77426 100644 --- a/tempest/api/identity/admin/v3/test_domains.py +++ b/tempest/api/identity/admin/v3/test_domains.py @@ -14,8 +14,8 @@ # under the License. from tempest.api.identity import base -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 from tempest import test diff --git a/tempest/api/identity/admin/v3/test_domains_negative.py b/tempest/api/identity/admin/v3/test_domains_negative.py index 4555a6aee..280a5a86d 100644 --- a/tempest/api/identity/admin/v3/test_domains_negative.py +++ b/tempest/api/identity/admin/v3/test_domains_negative.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v3/test_endpoints.py b/tempest/api/identity/admin/v3/test_endpoints.py index 9a0b3e41b..0786d828e 100644 --- a/tempest/api/identity/admin/v3/test_endpoints.py +++ b/tempest/api/identity/admin/v3/test_endpoints.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v3/test_endpoints_negative.py b/tempest/api/identity/admin/v3/test_endpoints_negative.py index 8e001937a..d46e1f067 100644 --- a/tempest/api/identity/admin/v3/test_endpoints_negative.py +++ b/tempest/api/identity/admin/v3/test_endpoints_negative.py @@ -15,7 +15,7 @@ # under the License. from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v3/test_groups.py b/tempest/api/identity/admin/v3/test_groups.py index 5ce0709f6..a423a128b 100644 --- a/tempest/api/identity/admin/v3/test_groups.py +++ b/tempest/api/identity/admin/v3/test_groups.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v3/test_inherits.py b/tempest/api/identity/admin/v3/test_inherits.py index 85233964d..3fe591bd2 100644 --- a/tempest/api/identity/admin/v3/test_inherits.py +++ b/tempest/api/identity/admin/v3/test_inherits.py @@ -11,7 +11,7 @@ # under the License. from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v3/test_list_projects.py b/tempest/api/identity/admin/v3/test_list_projects.py index 2d046bb2b..7e70c14f8 100644 --- a/tempest/api/identity/admin/v3/test_list_projects.py +++ b/tempest/api/identity/admin/v3/test_list_projects.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity import base -from tempest.common.utils import data_utils +from tempest.lib.common.utils import data_utils from tempest.lib import decorators diff --git a/tempest/api/identity/admin/v3/test_list_users.py b/tempest/api/identity/admin/v3/test_list_users.py index 0a0d65a32..bcbf6b6fa 100644 --- a/tempest/api/identity/admin/v3/test_list_users.py +++ b/tempest/api/identity/admin/v3/test_list_users.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity import base -from tempest.common.utils import data_utils +from tempest.lib.common.utils import data_utils from tempest.lib import decorators diff --git a/tempest/api/identity/admin/v3/test_policies.py b/tempest/api/identity/admin/v3/test_policies.py index eb1c69eae..f74cb1c5a 100644 --- a/tempest/api/identity/admin/v3/test_policies.py +++ b/tempest/api/identity/admin/v3/test_policies.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v3/test_projects.py b/tempest/api/identity/admin/v3/test_projects.py index b37d33d51..77a5c6917 100644 --- a/tempest/api/identity/admin/v3/test_projects.py +++ b/tempest/api/identity/admin/v3/test_projects.py @@ -16,8 +16,8 @@ import testtools from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v3/test_projects_negative.py b/tempest/api/identity/admin/v3/test_projects_negative.py index 87f8684f4..31e73029c 100644 --- a/tempest/api/identity/admin/v3/test_projects_negative.py +++ b/tempest/api/identity/admin/v3/test_projects_negative.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v3/test_regions.py b/tempest/api/identity/admin/v3/test_regions.py index f57a07c51..56ee496c0 100644 --- a/tempest/api/identity/admin/v3/test_regions.py +++ b/tempest/api/identity/admin/v3/test_regions.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity import base -from tempest.common.utils import data_utils +from tempest.lib.common.utils import data_utils from tempest.lib.common.utils import test_utils from tempest.lib import decorators from tempest import test diff --git a/tempest/api/identity/admin/v3/test_roles.py b/tempest/api/identity/admin/v3/test_roles.py index 9bee24a5e..e07d52552 100644 --- a/tempest/api/identity/admin/v3/test_roles.py +++ b/tempest/api/identity/admin/v3/test_roles.py @@ -14,8 +14,8 @@ # under the License. from tempest.api.identity import base -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 from tempest.lib import exceptions as lib_exc diff --git a/tempest/api/identity/admin/v3/test_services.py b/tempest/api/identity/admin/v3/test_services.py index 35e181493..53e005da2 100644 --- a/tempest/api/identity/admin/v3/test_services.py +++ b/tempest/api/identity/admin/v3/test_services.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v3/test_tokens.py b/tempest/api/identity/admin/v3/test_tokens.py index a9508d1fa..ed4d31af7 100644 --- a/tempest/api/identity/admin/v3/test_tokens.py +++ b/tempest/api/identity/admin/v3/test_tokens.py @@ -16,7 +16,7 @@ import six from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v3/test_trusts.py b/tempest/api/identity/admin/v3/test_trusts.py index 1a466a003..7a569b7d4 100644 --- a/tempest/api/identity/admin/v3/test_trusts.py +++ b/tempest/api/identity/admin/v3/test_trusts.py @@ -18,8 +18,8 @@ from oslo_utils import timeutils from tempest.api.identity import base from tempest import clients from tempest.common import credentials_factory as common_creds -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 diff --git a/tempest/api/identity/admin/v3/test_users.py b/tempest/api/identity/admin/v3/test_users.py index e0ec88392..0d12ba976 100644 --- a/tempest/api/identity/admin/v3/test_users.py +++ b/tempest/api/identity/admin/v3/test_users.py @@ -18,8 +18,8 @@ import time import testtools from tempest.api.identity 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 diff --git a/tempest/api/identity/admin/v3/test_users_negative.py b/tempest/api/identity/admin/v3/test_users_negative.py index 962610822..93241c5ca 100644 --- a/tempest/api/identity/admin/v3/test_users_negative.py +++ b/tempest/api/identity/admin/v3/test_users_negative.py @@ -14,7 +14,7 @@ # under the License. from tempest.api.identity 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 diff --git a/tempest/api/identity/base.py b/tempest/api/identity/base.py index 3c15d8c09..9339d3c71 100644 --- a/tempest/api/identity/base.py +++ b/tempest/api/identity/base.py @@ -13,8 +13,8 @@ # License for the specific language governing permissions and limitations # under the License. -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 import tempest.test |