'Test that delete_group return successfully.'

@mock.patch.object(huawei_driver.HuaweiBaseDriver, '_get_group_type', return_value=[{'hypermetro': 'true'}])
@cg_or_cg_snapshot
def test_delete_hypermetro_group_success(self, mock_grouptype):

    test_volumes = [self.volume]
    ctxt = context.get_admin_context()
    (model, volumes) = self.driver.delete_group(ctxt, self.group, test_volumes)
    self.assertEqual(fields.GroupStatus.DELETED, model['status'], 'Group    deleted    failed')
