"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "manila/tests/api/v2/test_shares.py" between
manila-11.0.0.tar.gz and manila-11.0.1.tar.gz

About: OpenStack Manila provides “Shared Filesystems as a service”.
The "Victoria" series (latest release).

test_shares.py  (manila-11.0.0):test_shares.py  (manila-11.0.1)
skipping to change at line 2888 skipping to change at line 2888
'share_type_id': '1', 'share_type_id': '1',
}) })
) )
self.mock_object( self.mock_object(
share_api.API, 'manage', return_share) share_api.API, 'manage', return_share)
self.mock_object( self.mock_object(
common, 'validate_public_share_policy', common, 'validate_public_share_policy',
mock.Mock(side_effect=lambda *args, **kwargs: args[1])) mock.Mock(side_effect=lambda *args, **kwargs: args[1]))
share = { share = {
'host': data['share']['service_host'], 'host': data['share']['service_host'],
'export_location': data['share']['export_path'], 'export_location_path': data['share']['export_path'],
'share_proto': data['share']['protocol'].upper(), 'share_proto': data['share']['protocol'].upper(),
'share_type_id': 'fake', 'share_type_id': 'fake',
'display_name': 'foo', 'display_name': 'foo',
'display_description': 'bar', 'display_description': 'bar',
} }
driver_options = data['share'].get('driver_options', {}) driver_options = data['share'].get('driver_options', {})
if (api_version.APIVersionRequest(version) <= if (api_version.APIVersionRequest(version) <=
api_version.APIVersionRequest('2.8')): api_version.APIVersionRequest('2.8')):
expected['share']['export_location'] = 'fake_location' expected['share']['export_location'] = 'fake_location'
 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)