Still trying to find a call that works with the user

This commit is contained in:
Alex Kavanagh
2019-09-24 18:34:50 +01:00
parent 9d4008c9f4
commit 086076c6fc

View File

@@ -184,13 +184,13 @@ class KeystonePolicydTest(PolicydTest,
keystone_client = (
openstack_utils.get_keystone_session_client(
keystone_session))
keystone_client.projects.list()
keystone_client.services.list()
logging.info("keystone IP:{} without policyd override "
"projects list working"
"services list working"
.format(ip))
except keystoneauth1.exceptions.http.Forbidden:
raise zaza_exceptions.PolicydError(
'Retrieve project list as demo user with project '
'Retrieve services list as demo user with project '
'scoped token passed and should have passed. IP = {}'
.format(ip))