Use volume v3 service client as the default

Depends-On: https://review.openstack.org/#/c/536121/
Change-Id: I2004e737a9bdca74d3cf619cebe8b4a4d6db21d1
Story: 2001784
Task: 12497
Task: 19693
This commit is contained in:
Martin Kopec 2018-05-16 12:34:17 +00:00
parent ff5fbcbdb3
commit 6d4b09fd3e

View File

@ -29,6 +29,11 @@ from tempest.lib.services.identity.v3 import services_client as s_client
from tempest.lib.services.identity.v3 import users_client as users_v3_client
from tempest.lib.services.image.v2 import images_client
from tempest.lib.services.network import networks_client
try:
# Since Rocky, volume.v3.services_client is the default
from tempest.lib.services.volume.v3 import services_client
except ImportError:
# For backward compatibility
from tempest.lib.services.volume.v2 import services_client