Fix tempest test for export locations API
Do not try to get admin export location using member client.
This bug appeares only when admin export locations exist.
This bug is blocker for implementation of admin export locations by
share drivers.
Change-Id: Ifde2dc5f0b337ab122591ac51384c70f8efa634a
Closes-Bug: #1545184
diff --git a/manila_tempest_tests/tests/api/admin/test_export_locations.py b/manila_tempest_tests/tests/api/admin/test_export_locations.py
index 9c759fc..4791cb0 100644
--- a/manila_tempest_tests/tests/api/admin/test_export_locations.py
+++ b/manila_tempest_tests/tests/api/admin/test_export_locations.py
@@ -98,6 +98,8 @@
self.share['id'])
for export_location in export_locations:
+ if export_location['is_admin_only']:
+ continue
el = self.member_client.get_share_export_location(
self.share['id'], export_location['uuid'])
self._verify_export_location_structure(el, 'member')