'Change name ID to mimic volume after migration.'

def test_name_id_diff(self):

    vol_ref = testutils.create_volume(self.ctxt, size=1, _name_id=fake.VOLUME2_ID)
    vol_ref = db.volume_get(self.ctxt, vol_ref['id'])
    expected_name = (CONF.volume_name_template % fake.VOLUME2_ID)
    self.assertEqual(expected_name, vol_ref['name'])
