From 4c67e76376569cb6f33653c4554b2f9ec514d33d Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 18 Apr 2017 11:53:55 -0500 Subject: [PATCH] Change versioned_endpoint to endpoint_uri In this context, the word versioned_endpoint is confusing. Change-Id: I89b6faadbb3666e867e61d321e1cc096589589cf --- shade/tests/unit/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shade/tests/unit/base.py b/shade/tests/unit/base.py index 3eb66e974..97b4b2f77 100644 --- a/shade/tests/unit/base.py +++ b/shade/tests/unit/base.py @@ -423,9 +423,9 @@ class RequestsMockTestCase(BaseTestCase): # close to just getting rid of ksc anyway, just put in a version match occ_version = du_version.StrictVersion(occ.__version__) if occ_version > du_version.StrictVersion('1.26.0'): - versioned_endpoint = 'https://identity.example.com/v2.0' + endpoint_uri = 'https://identity.example.com/v2.0' else: - versioned_endpoint = 'https://identity.example.com/' + endpoint_uri = 'https://identity.example.com/' self.__do_register_uris([ dict(method='GET', uri='https://identity.example.com/', @@ -434,7 +434,7 @@ class RequestsMockTestCase(BaseTestCase): text=open(os.path.join( self.fixtures_directory, 'catalog-v2.json'), 'r').read() ), - dict(method='GET', uri=versioned_endpoint, + dict(method='GET', uri=endpoint_uri, text=open(self.discovery_json, 'r').read()), dict(method='GET', uri='https://identity.example.com/', text=open(self.discovery_json, 'r').read())