From 5cf126e88ac09524767c1ff8dd149544b68ba46d Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Thu, 20 Jul 2017 17:30:22 +0100 Subject: [PATCH] Fix basic_deployment.py to work with the newer keystone client The keystone client url_for() method changed its signature such that the endpoint_type parameter was renamed as 'interface'. Change-Id: Icb72248d08721607586090c1cd2e409558ba860f --- src/tests/basic_deployment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/basic_deployment.py b/src/tests/basic_deployment.py index 3bc6da7..cc533ad 100644 --- a/src/tests/basic_deployment.py +++ b/src/tests/basic_deployment.py @@ -112,11 +112,11 @@ class AodhBasicDeployment(OpenStackAmuletDeployment): # Authenticate admin with aodh endpoint aodh_ep = self.keystone.service_catalog.url_for( service_type='alarming', - endpoint_type='publicURL') + interface='publicURL') keystone_ep = self.keystone.service_catalog.url_for( service_type='identity', - endpoint_type='publicURL') + interface='publicURL') auth = keystone_identity.V2Token(auth_url=keystone_ep, token=self.keystone.auth_token)