def test_robot_greeting_save(self, desc, params, assert_value):
     """
     机器人欢迎语保存
     """
     actual_result, except_result = RobotGreetingsave.greeting_save(
         self.url, json.loads(params), assert_value)
     assert Assert.get_result(actual_result, except_result)
Example #2
0
 def test_search_standard_questions(self, desc, params, assert_value):
     """
     预置回答问答对配置信息--根据分类和模板Id,模糊查询问题/答案分页数据
     """
     actual_result, expect_result = FaqQueryTemplateStandardQuestion.query_template_standard_question(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, expect_result)
Example #3
0
 def test_query_faq(self, desc, params, assert_value):
     """
     常规问答问答对配置信息--根据分类和机器人Id查询问题分页数据
     """
     actual_result, expect_result = FaqQuery.faq_query(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, expect_result)
Example #4
0
 def test_query_faq_template_category(self, desc, params, assert_value):
     """
     预置问答问答对分类信息--查询
     """
     actual_result, expect_result = FaqQueryTemplateCategory.query_template_category(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, expect_result)
Example #5
0
 def test_save_faq(self, desc, params, assert_value):
     """
     常规问答问答对配置信息--保存
     """
     actual_result, expect_result = FaqSave.faq_save(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, expect_result)
Example #6
0
 def test_check_question(self, desc, params, assert_value):
     """
     常规问答问答对配置信息--相似性判断--标准问题
     """
     actual_result, expect_result = FaqCheckQuestion.faq_check_question(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, expect_result)
Example #7
0
 def test_change_category(self, desc, params, assert_value):
     """
     常规问答问答对配置信息--批量修改分类
     """
     actual_result, expect_result = FaqChangeCategory.faq_change_category(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, expect_result)
 def test_robot_guest_settings_save(self, desc, params, assert_value):
     """
     机器人访客端保存
     """
     actual_result, except_result = RobotGuestSettingsSave.guest_settings_save(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, except_result)
 def test_robot_artificial_settings_save(self, desc, params, assert_value):
     """
     机器人转人工设置保存
     """
     actual_result, except_result = RobotArtiticialSettingsSave.artiticial_settings_save(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, except_result)
 def test_robot_unproblem_save(self, desc, params, assert_value):
     """
     机器人未知问题保存
     """
     actual_result, except_result = RobotUnProblemSave.un_problem_save(
         self.url, json.loads(params), assert_value)
     assert Assert.get_result(actual_result, except_result)
 def test_robot_guest_settings_query(self, desc, params, assert_value):
     """
     机器人机器人访客端查询
     """
     actual_result, except_result = RobotGuestSettingsQuery.guest_settings_query(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, except_result)
 def test_robot_warm_word_save(self, desc, params, assert_value):
     """
     机器人暖场语保存
     """
     actual_result, except_result = RobotWarmWordSave.warm_word_save(
         self.url, json.loads(params), assert_value)
     assert Assert.get_result(actual_result, except_result)
 def test_robot_guide_save(self, desc, params, assert_value):
     """
     机器人引导语保存
     """
     actual_result, except_result = RobotGuideSave.guide_save(
         self.url, json.loads(params), assert_value)
     assert Assert.get_result(actual_result, except_result)
 def test_robot_greeting_query(self, desc, params, assert_value):
     """
     机器人欢迎语查询
     """
     actual_result, except_result = RobotGreetingQuery.greeting_query(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, except_result)
 def test_robot_hot_question_save(self, desc, params, assert_value):
     """
     机器人热点问题保存
     """
     actual_result, except_result = RobotHotQuestionSave.hot_question_save(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, except_result)
 def test_robot_advance_settings_query(self, desc, params, assert_value):
     """
     机器人高级设置查询
     """
     actual_result, except_result = RobotAdvanceSettingsQuery.advance_settings_query(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, except_result)
 def test_robot_threshold_query(self, desc, params, assert_value):
     """
     机器人阈值范围查询
     """
     actual_result, except_result = RobotThresholdQuery.threshold_query(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, except_result)
 def test_robot_advance_settings_save(self, desc, params, assert_value):
     """
     机器人高级设置保存
     """
     actual_result, except_result = RobotAdvanceSettingsSave.advance_settings_save(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, except_result)
Example #19
0
 def test_change_status(self, desc, params, assert_value):
     """
     常规问答问答对配置信息--批量修改状态
     """
     actual_result, expect_result = FaqChangeStatus.faq_change_status(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, expect_result)
 def test_robot_want_toask_query(self, desc, params, assert_value):
     """
     机器人猜你想问查询
     """
     actual_result, except_result = RobotWantToaskQuery.want_toask_query(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, except_result)
Example #21
0
 def test_search_page(self, desc, params, assert_value):
     """
     常规问答问答对配置信息--模糊查询分页数据
     """
     actual_result, expect_result = FaqSearchPage.faq_search_page(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, expect_result)
 def test_robot_want_toask_save(self, desc, params, assert_value):
     """
     机器人猜你想问保存
     """
     actual_result, except_result = RobotWantToaskSave.want_toask_save(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, except_result)
Example #23
0
 def test_cite_faq(self, desc, params, assert_value):
     """
     预置问答问答对配置信息--引用
     """
     actual_result, expect_result = FaqCiteTemplate.cite_template_faq(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, expect_result)
 def test_related_related_question_query(self, desc, params, assert_value):
     """
     机器人关联问题查询
     """
     actual_result, except_result = RobotRelatedQuestionQuery.related_question_query(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, except_result)
Example #25
0
 def test_query_template_query_page(self, desc, params, assert_value):
     """
     预置回答问答对配置信息--根据分类和模板Id查询问题分页数据
     """
     actual_result, expect_result = FaqQueryTemplatePage.query_template_page(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, expect_result)
 def test_robot_related_question_save(self, desc, params, assert_value):
     """
     机器人关联问题保存
     """
     actual_result, except_result = RobotRelatedQuestionSave.related_question_save(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, except_result)
Example #27
0
 def test_query_faq_by_id(self, desc, params, assert_value):
     """
     预置回答问答对配置信息--根据ID查询
     """
     actual_result, expect_result = FaqQueryById.query_by_id(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, expect_result)
 def test_hot_question_query(self, desc, params, assert_value):
     """
     机器人热点问题查询
     """
     actual_result, except_result = RobotHotQuestionQuery.hot_question_query(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, except_result)
Example #29
0
 def test_delete_faq(self, desc, params, assert_value):
     """
     常规问答问答对配置信息--删除
     """
     actual_result, expect_result = FaqDelete.faq_delete(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, expect_result)
 def test_robot_un_problem_query(self, desc, params, assert_value):
     """
     机器人未知问题回复查询
     """
     actual_result, except_result = RobotUnProblemQuery.un_problem_query(
         self.url, params, assert_value)
     assert Assert.get_result(actual_result, except_result)