Functional tests for create share from snapshot different pools/azs
This patch adds functional tests for the feature create share
from snapshot in different pools or availability zones.
Partially-implements: bp create-share-from-snapshot-in-another-pool-or-backend
Change-Id: Iece5bc2c1aa6485f3533711baf514bb852357820
diff --git a/manila_tempest_tests/tests/api/base.py b/manila_tempest_tests/tests/api/base.py
index 8c18a4b..b5db8b3 100644
--- a/manila_tempest_tests/tests/api/base.py
+++ b/manila_tempest_tests/tests/api/base.py
@@ -718,6 +718,7 @@
client = client or cls.admin_shares_v2_client
if utils.is_microversion_supported('2.23'):
return client.list_pools(
+ detail=True,
search_opts={'share_type': share_type['id']})['pools']
pools = client.list_pools(detail=True)['pools']