'Basic CG include test filtering by cluster with full rename.'

@ddt.data('cluster1@backend1#pool1', 'cluster1@backend1')
def test_consistencygroup_include_in_cluster_by_cluster_name(self, cluster_name):

    cg = self._create_cgs_to_test_include_in()[0]
    new_cluster_name = 'cluster_new@backend1#pool'
    result = db.consistencygroup_include_in_cluster(self.ctxt, new_cluster_name, partial_rename=False, cluster_name=cluster_name)
    self.assertEqual(1, result)
    db_cg = db.consistencygroup_get(self.ctxt, cg.id)
    self.assertEqual(new_cluster_name, db_cg.cluster_name)
