From b5b46ac4c38d325a135fa259ff31b6acf1802e36 Mon Sep 17 00:00:00 2001 From: Ken'ichi Ohmichi Date: Thu, 30 Jun 2016 15:06:47 -0700 Subject: [PATCH] Use tempest.lib tenants_client Tempest 12.1.0 has been released for new library interfaces. These interfaces are stable[1] and we need to switch using them instead of current using unstable interfaces. This will be helpful to avoid breaking gate jobs. [1]: https://github.com/openstack/tempest/blob/master/doc/source/library.rst#stability Change-Id: I04b13dc6a708ffdbb2b874959233779c3245bb25 --- neutron_lbaas/tests/tempest/v1/api/clients.py | 3 +-- test-requirements.txt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/neutron_lbaas/tests/tempest/v1/api/clients.py b/neutron_lbaas/tests/tempest/v1/api/clients.py index e3e71b62d..bfb45b946 100644 --- a/neutron_lbaas/tests/tempest/v1/api/clients.py +++ b/neutron_lbaas/tests/tempest/v1/api/clients.py @@ -16,9 +16,8 @@ from tempest.common import cred_provider from tempest import config +from tempest.lib.services.identity.v2.tenants_client import TenantsClient from tempest import manager -from tempest.services.identity.v2.json.tenants_client import \ - TenantsClient from neutron_lbaas.tests.tempest.lib.services.network.json.network_client import \ NetworkClientJSON diff --git a/test-requirements.txt b/test-requirements.txt index 736d67629..9bc881df7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -21,4 +21,4 @@ WebTest>=2.0 # MIT reno>=1.8.0 # Apache2 # Needed to run DB commands in virtualenvs PyMySQL>=0.6.2 # MIT License -tempest>=11.0.0 # Apache-2.0 +tempest>=12.1.0 # Apache-2.0