"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cinder/tests/unit/volume/test_volume.py" between
cinder-15.0.1.tar.gz and cinder-15.1.0.tar.gz

About: OpenStack Cinder (Core Service: Block Storage) provides persistent block storage to running instances. Its pluggable driver architecture facilitates the creation and management of block storage devices.
The "Train" series (latest release).

test_volume.py  (cinder-15.0.1):test_volume.py  (cinder-15.1.0)
skipping to change at line 1679 skipping to change at line 1679
mock.ANY, mock.ANY,
src_vol, src_vol,
{'key_size': 256, {'key_size': 256,
'provider': 'luks', 'provider': 'luks',
'cipher': 'aes-xts-plain64'} 'cipher': 'aes-xts-plain64'}
) )
if already_encrypted: if already_encrypted:
mock_execute.assert_called_once_with( mock_execute.assert_called_once_with(
'cryptsetup', 'luksChangeKey', 'cryptsetup', 'luksChangeKey',
'/some/device/thing', '/some/device/thing',
'--force-password',
log_errors=processutils.LOG_ALL_ERRORS, log_errors=processutils.LOG_ALL_ERRORS,
process_input='qwert\nasdfg\n', process_input='qwert\nasdfg\n',
run_as_root=True) run_as_root=True)
else: else:
mock_execute.assert_called_once_with( mock_execute.assert_called_once_with(
'cryptsetup', '--batch-mode', 'luksFormat', 'cryptsetup', '--batch-mode', 'luksFormat',
'--type', 'luks1', '--type', 'luks1',
'--cipher', 'aes-xts-plain64', '--key-size', '256', '--cipher', 'aes-xts-plain64', '--key-size', '256',
'--key-file=-', '/some/device/thing', '--key-file=-', '/some/device/thing',
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

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