From 086076c6fc525cfd7af65bd1fbef3a34553e76e7 Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Tue, 24 Sep 2019 18:34:50 +0100 Subject: [PATCH] Still trying to find a call that works with the user --- zaza/openstack/charm_tests/policyd/tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zaza/openstack/charm_tests/policyd/tests.py b/zaza/openstack/charm_tests/policyd/tests.py index b7de2953b..7538cc959 100644 --- a/zaza/openstack/charm_tests/policyd/tests.py +++ b/zaza/openstack/charm_tests/policyd/tests.py @@ -184,13 +184,13 @@ def test_disable_service(self): 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))