'Basic volume include test filtering by host and with full rename.'

@ddt.data('host1@backend1#pool1', 'host1@backend1')
def test_volume_include_in_cluster_by_host(self, host):

    vol = self._create_volumes_to_test_include_in()[0]
    cluster_name = 'my_cluster'
    result = db.volume_include_in_cluster(self.ctxt, cluster_name, partial_rename=False, host=host)
    self.assertEqual(1, result)
    db_vol = db.volume_get(self.ctxt, vol.id)
    self.assertEqual(cluster_name, db_vol.cluster_name)
