'Partial cluster rename filtering with host level info.'

def test_volume_include_in_cluster_by_host_multiple(self):

    vols = self._create_volumes_to_test_include_in()[0:2]
    host = 'host1'
    cluster_name = 'my_cluster'
    result = db.volume_include_in_cluster(self.ctxt, cluster_name, partial_rename=True, host=host)
    self.assertEqual(2, result)
    db_vols = [db.volume_get(self.ctxt, vols[0].id), db.volume_get(self.ctxt, vols[1].id)]
    for i in range(2):
        self.assertEqual((cluster_name + vols[i].host[len(host):]), db_vols[i].cluster_name)
