"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/tests/unit/test_v3.py" between
keystone-18.0.0.tar.gz and keystone-19.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 "Wallaby" series (latest release).

test_v3.py  (keystone-18.0.0):test_v3.py  (keystone-19.0.0)
skipping to change at line 248 skipping to change at line 248
self.default_domain_project['id'] = self.default_domain_project_id self.default_domain_project['id'] = self.default_domain_project_id
PROVIDERS.resource_api.create_project( PROVIDERS.resource_api.create_project(
self.default_domain_project_id, self.default_domain_project self.default_domain_project_id, self.default_domain_project
) )
self.default_domain_user = unit.create_user( self.default_domain_user = unit.create_user(
PROVIDERS.identity_api, PROVIDERS.identity_api,
domain_id=DEFAULT_DOMAIN_ID) domain_id=DEFAULT_DOMAIN_ID)
self.default_domain_user_id = self.default_domain_user['id'] self.default_domain_user_id = self.default_domain_user['id']
# create & grant policy.json's default role for admin_required # create & grant policy.yaml's default role for admin_required
self.role = unit.new_role_ref(name='admin') self.role = unit.new_role_ref(name='admin')
self.role_id = self.role['id'] self.role_id = self.role['id']
PROVIDERS.role_api.create_role(self.role_id, self.role) PROVIDERS.role_api.create_role(self.role_id, self.role)
PROVIDERS.assignment_api.add_role_to_user_and_project( PROVIDERS.assignment_api.add_role_to_user_and_project(
self.user_id, self.project_id, self.role_id) self.user_id, self.project_id, self.role_id)
PROVIDERS.assignment_api.add_role_to_user_and_project( PROVIDERS.assignment_api.add_role_to_user_and_project(
self.default_domain_user_id, self.default_domain_project_id, self.default_domain_user_id, self.default_domain_project_id,
self.role_id) self.role_id)
PROVIDERS.assignment_api.add_role_to_user_and_project( PROVIDERS.assignment_api.add_role_to_user_and_project(
self.default_domain_user_id, self.project_id, self.default_domain_user_id, self.project_id,
 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)