Merge "Add microversion 2.67 to rest api version history"

This commit is contained in:
Zuul 2018-10-15 17:42:30 +00:00 committed by Gerrit Code Review
commit b641eb00be
2 changed files with 7 additions and 2 deletions

View File

@ -854,3 +854,9 @@ following APIs to filter by changes before or equal to the resource
* ``GET /servers/detail``
* ``GET /servers/{server_id}/os-instance-actions``
* ``GET /os-migrations``
2.67
----
Adds the ``volume_type`` parameter to ``block_device_mapping_v2``, which can
be used to specify cinder ``volume_type`` when creating a server.

View File

@ -600,8 +600,7 @@ class TestBlockDeviceDict(test.NoDBTestCase):
self.assertEqual(retexp,
block_device.BlockDeviceDict.from_api(api_dict, True))
def test_from_api_invalid_oneof_image_id_or_destination_local_mapping(
self):
def test_from_api_invalid_image_to_destination_local_mapping(self):
api_dict = {'id': 1,
'source_type': 'image',
'destination_type': 'local',