#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This file is auto-generated, do not edit
#

from tests.test_cases.recombee_test import RecombeeTest, InteractionsTest, RecommendationsTest
from recombee_api_client.exceptions import ResponseException
from recombee_api_client.api_requests import *

class UpdateManualReqlSegmentationTest(RecombeeTest):

    def create_request(self,segmentation_id,title=None,description=None):
        pass

    def test_update_manual_reql_segmentation(self):

        # it 'updates manual ReQL segmentation'
        req = CreateManualReqlSegmentation('seg1', 'items', title='Test Segmentation', description='For test purposes')
        resp = self.client.send(req)
        req = self.create_request('seg1', title='New title', description='Updated')
        resp = self.client.send(req)

