Merge "Fix for V2 identity failing test cases."
diff --git a/patrole_tempest_plugin/tests/api/identity/v2/test_services_rbac.py b/patrole_tempest_plugin/tests/api/identity/v2/test_services_rbac.py
index c8447bb..93f20ef 100644
--- a/patrole_tempest_plugin/tests/api/identity/v2/test_services_rbac.py
+++ b/patrole_tempest_plugin/tests/api/identity/v2/test_services_rbac.py
@@ -53,7 +53,7 @@
RBAC test for Identity Admin 2.0 delete_service
"""
- service_id = self._create_service()
+ service_id = self._create_service()['OS-KSADM:service']['id']
rbac_utils.switch_role(self, switchToRbacRole=True)
self.services_client.delete_service(service_id)
@@ -66,7 +66,7 @@
RBAC test for Identity Admin 2.0 show_service
"""
- service_id = self._create_service()
+ service_id = self._create_service()['OS-KSADM:service']['id']
rbac_utils.switch_role(self, switchToRbacRole=True)
self.services_client.show_service(service_id)