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: I74a5d5ed43f758b88a22ded293d85d046005d41f
This commit is contained in:
Ken'ichi Ohmichi 2016-06-30 12:19:37 -07:00
parent eba3ddd682
commit 54b2efe29d
2 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@
from tempest.lib.services.compute import keypairs_client from tempest.lib.services.compute import keypairs_client
from tempest.lib.services.compute import servers_client from tempest.lib.services.compute import servers_client
from tempest.lib.services.identity.v2 import tenants_client
from tempest import manager from tempest import manager
from tempest.services.identity.v2.json import tenants_client
from neutron.tests.tempest import config from neutron.tests.tempest import config
from neutron.tests.tempest.services.network.json import network_client from neutron.tests.tempest.services.network.json import network_client

View File

@ -22,4 +22,4 @@ pylint==1.4.5 # GPLv2
reno>=1.8.0 # Apache2 reno>=1.8.0 # Apache2
# Needed to run DB commands in virtualenvs # Needed to run DB commands in virtualenvs
PyMySQL>=0.6.2 # MIT License PyMySQL>=0.6.2 # MIT License
tempest>=11.0.0 # Apache-2.0 tempest>=12.1.0 # Apache-2.0