'retype volume from a specific area to another area.'

def test_retype_vol_in_specific_area_to_another_area(self):

    self.driver = FakeDS8KProxy(self.storage_info, self.logger, self.exception, self)
    self.driver.setup(self.ctxt)
    new_type = {}
    diff = {'encryption': {}, 'qos_specs': {}, 'extra_specs': {'drivers:storage_pool_ids': (TEST_POOL_ID_1, TEST_POOL_ID_2), 'drivers:storage_lss_ids': (TEST_LSS_ID_1, TEST_LSS_ID_2)}}
    host = None
    vol_type = volume_types.create(self.ctxt, 'VOL_TYPE', {'drivers:storage_pool_ids': TEST_POOL_ID_1, 'drivers:storage_lss_ids': TEST_LSS_ID_1})
    location = six.text_type({'vol_hex_id': TEST_VOLUME_ID})
    volume = self._create_volume(volume_type_id=vol_type.id, provider_location=location)
    self.assertRaises(exception.VolumeDriverException, self.driver.retype, self.ctxt, volume, new_type, diff, host)
