"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/tests/unit/test_v3_catalog.py" between
keystone-17.0.0.tar.gz and keystone-18.0.0.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Victoria" series (latest release).

test_v3_catalog.py  (keystone-17.0.0):test_v3_catalog.py  (keystone-18.0.0)
skipping to change at line 685 skipping to change at line 685
expected_status=http.client.BAD_REQUEST) expected_status=http.client.BAD_REQUEST)
def test_delete_endpoint(self): def test_delete_endpoint(self):
"""Call ``DELETE /endpoints/{endpoint_id}``.""" """Call ``DELETE /endpoints/{endpoint_id}``."""
self.delete( self.delete(
'/endpoints/%(endpoint_id)s' % { '/endpoints/%(endpoint_id)s' % {
'endpoint_id': self.endpoint_id}) 'endpoint_id': self.endpoint_id})
def test_deleting_endpoint_with_space_in_url(self): def test_deleting_endpoint_with_space_in_url(self):
# add a space to all urls (intentional "i d" to test bug) # add a space to all urls (intentional "i d" to test bug)
url_with_space = " /v1.1/\$(tenant_i d)s" url_with_space = " /v1.1/\\$(tenant_i d)s"
# create a v3 endpoint ref # create a v3 endpoint ref
ref = unit.new_endpoint_ref(service_id=self.service['id'], ref = unit.new_endpoint_ref(service_id=self.service['id'],
region_id=None, region_id=None,
publicurl=url_with_space, publicurl=url_with_space,
internalurl=url_with_space, internalurl=url_with_space,
adminurl=url_with_space, adminurl=url_with_space,
url=url_with_space) url=url_with_space)
# add the endpoint to the database # add the endpoint to the database
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)