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:
parent
ff5fbcbdb3
commit
6d4b09fd3e
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user