"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "openstack_dashboard/test/unit/api/test_nova.py" between
horizon-18.6.2.tar.gz and horizon-18.6.3.tar.gz

About: OpenStack Horizon (Optional Service: Dashboard) provides a web-based self-service portal to interact with underlying OpenStack services, such as launching an instance, assigning IP addresses and configuring access controls.
The "Victoria" series (maintained release).

test_nova.py  (horizon-18.6.2):test_nova.py  (horizon-18.6.3)
skipping to change at line 794 skipping to change at line 794
novaclient = mock.Mock() novaclient = mock.Mock()
self.mock_novaclient.return_value = novaclient self.mock_novaclient.return_value = novaclient
ret = api.nova.server_create( ret = api.nova.server_create(
mock.sentinel.request, mock.sentinel.request,
'vm1', 'image1', 'flavor1', 'key1', 'userdata1', ['sg1'], 'vm1', 'image1', 'flavor1', 'key1', 'userdata1', ['sg1'],
**extra_kwargs) **extra_kwargs)
self.assertIsInstance(ret, api.nova.Server) self.assertIsInstance(ret, api.nova.Server)
self.mock_get_microversion.assert_called_once_with( self.mock_get_microversion.assert_called_once_with(
mock.sentinel.request, ('instance_description', mock.sentinel.request, ('multiattach', 'instance_description',
'auto_allocated_network')) 'auto_allocated_network'))
self.mock_novaclient.assert_called_once_with( self.mock_novaclient.assert_called_once_with(
mock.sentinel.request, version=mock.sentinel.microversion) mock.sentinel.request, version=mock.sentinel.microversion)
novaclient.servers.create.assert_called_once_with( novaclient.servers.create.assert_called_once_with(
'vm1', 'image1', 'flavor1', userdata='userdata1', 'vm1', 'image1', 'flavor1', userdata='userdata1',
security_groups=['sg1'], key_name='key1', security_groups=['sg1'], key_name='key1',
block_device_mapping=None, block_device_mapping_v2=None, block_device_mapping=None, block_device_mapping_v2=None,
availability_zone=None, min_count=1, admin_pass=None, availability_zone=None, min_count=1, admin_pass=None,
disk_config=None, config_drive=None, meta=None, disk_config=None, config_drive=None, meta=None,
scheduler_hints=None, **expected_kwargs) scheduler_hints=None, **expected_kwargs)
 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)