'Test deleting existing volume, ensure proper name used.'

def test_delete_volume(self):

    ctxt = context.get_admin_context()
    extra_specs = {}
    type_ref = volume_types.create(ctxt, 'hgst-1', extra_specs)
    volume = {'id': '1', 'name': 'volume1', 'display_name': '', 'volume_type_id': type_ref['id'], 'size': 10, 'provider_id': 'volume10'}
    self.driver.delete_volume(volume)
    expected = {'name': 'volume10'}
    self.assertDictEqual(expected, self.deleted)
