'create volume which type is FB 512.'

def test_create_volume_of_FB512(self):

    self.driver = FakeDS8KProxy(self.storage_info, self.logger, self.exception, self)
    self.driver.setup(self.ctxt)
    vol_type = volume_types.create(self.ctxt, 'VOL_TYPE', {})
    volume = self._create_volume(volume_type_id=vol_type.id)
    vol = self.driver.create_volume(volume)
    self.assertEqual('FB    512', vol['metadata']['data_type'])
    self.assertEqual(TEST_VOLUME_ID, vol['metadata']['vol_hex_id'])
    self.assertEqual(TEST_VOLUME_ID, ast.literal_eval(vol['provider_location'])['vol_hex_id'])
