def test_026_article_getTrees(self): """查询文章列表""" object = ApiRequestsThree() # object.article_getTrees() actual_result, desc = object.article_getTrees() self.assertEqual(actual_result, 0, desc)
def test_024_contact_bindMember(self): """微信账号与会员绑定""" object = ApiRequestsThree() # object.contact_bindMember() actual_result, desc = object.contact_bindMember() self.assertEqual(actual_result, 0, desc)
def test_025_contact_bindMember(self): """创建邮件发送任务""" object = ApiRequestsThree() # object.contact_bindMember() actual_result, desc = object.contact_bindMember() self.assertEqual(actual_result, 0, desc)
def test_006_template_template_getConfig(self): """获取一个全局用户Id(cookieId)""" object = ApiRequestsThree() # object.template_template_getConfig() actual_result, desc = object.template_template_getConfig() self.assertEqual(actual_result, 0, desc)
def test_011_productLine_category_getCategoryTreeList(self): """获取产品线分类树""" object = ApiRequestsThree() # object.productLine_category_getCategoryTreeList() actual_result, desc = object.productLine_category_getCategoryTreeList() self.assertEqual(actual_result, 0, desc)
def test_002_article_getListByProject(self): """获取文章列表""" object = ApiRequestsThree() # object.article_getListByProject() actual_result, desc = object.article_getListByProject() self.assertEqual(actual_result, 0, desc)
def test_004_weChat_getAppId(self): """获取微信信息""" object = ApiRequestsThree() # object.weChat_getAppId() actual_result, desc = object.weChat_getAppId() self.assertEqual(actual_result, 0, desc)
def test_018_contact_getContactStatus(self): """查询openId是否已关注微信号""" object = ApiRequestsThree() # object.contact_getContactStatus() actual_result, desc = object.contact_getContactStatus() self.assertEqual(actual_result, 0, desc)
def test_019_article_getLikeStatus(self): """获取此用户是否允许继续点赞,articleId和cookieId是必填字段,openId不传就以cookieId查询用户身份,传openId则cookieId和openId满足其一即可返回此用户的点赞状态""" object = ApiRequestsThree() # object.article_getLikeStatus() actual_result, desc = object.article_getLikeStatus() self.assertEqual(actual_result, 0, desc)
def test_016_weChat_getDef(self): """获取各平台默认微信号的配置信息""" object = ApiRequestsThree() # object.weChat_getDef() actual_result, desc = object.weChat_getDef() self.assertEqual(actual_result, 0, desc)
def test_017_article_share(self): """微信的jssdk""" object = ApiRequestsThree() # object.article_share() actual_result, desc = object.article_share() self.assertEqual(actual_result, 0, desc)
def test_015_weChat_get(self): """该接口为后台接口,后期即将移除,请不要继续使用,获取微信信息""" object = ApiRequestsThree() # object.weChat_get() actual_result, desc = object.weChat_get() self.assertEqual(actual_result, 0, desc)
def test_014_article_getRecommendedList(self): """获取栏目的子栏目中推荐的文章列表""" object = ApiRequestsThree() # object.article_getRecommendedList() actual_result, desc = object.article_getRecommendedList() self.assertEqual(actual_result, 0, desc)
def test_012_article_browse(self): """文章浏览""" object = ApiRequestsThree() # object.article_browse() actual_result, desc = object.article_browse() self.assertEqual(actual_result, 0, desc)
def test_027_edm_sendEmail(self): """中转接口发送邮件""" object = ApiRequestsThree() actual_result, desc = object.edm_sendEmail() self.assertEqual(actual_result, 0, desc)
def test_020_article_like(self): """点赞,globalUserId、openId和sess至少填一个""" object = ApiRequestsThree() # object.article_like() actual_result, desc = object.article_like() self.assertEqual(actual_result, 0, desc)
def test_001_article_getDetail(self): """获取文章详情信息""" object = ApiRequestsThree() # object.article_getDetail() actual_result, desc = object.article_getDetail() self.assertEqual(actual_result, 0, desc)
def test_021_article_shareRecord(self): """分享记录,globalUserId、openId和sess至少填一个""" object = ApiRequestsThree() # object.article_shareRecord() actual_result, desc = object.article_shareRecord() self.assertEqual(actual_result, 0, desc)
def test_003_file_getList(self): """获取文件列表""" object = ApiRequestsThree() # object.file_getList() actual_result, desc = object.file_getList() self.assertEqual(actual_result, 0, desc)
def test_022_file_downloadWithEmail(self): """文章资料下载""" object = ApiRequestsThree() # object.file_downloadWithEmail() actual_result, desc = object.file_downloadWithEmail() self.assertEqual(actual_result, 0, desc)
def test_005_weChat_getConfig(self): """做微信签名用,获取jssdk配置""" object = ApiRequestsThree() # object.weChat_getConfig() actual_result, desc = object.weChat_getConfig() self.assertEqual(actual_result, 0, desc)
def test_023_article_getListByIds(self): """根据文章id数组获取文章列表信息""" object = ApiRequestsThree() # object.article_getListByIds() actual_result, desc = object.article_getListByIds() self.assertEqual(actual_result, 0, desc)
def test_008_articleCategory_getList(self): """获取栏目列表""" object = ApiRequestsThree() # object.articleCategory_getList() actual_result, desc = object.articleCategory_getList() self.assertEqual(actual_result, 0, desc)
def test_010_contact_getByOpenId(self): """通过openId获取联系人信息""" object = ApiRequestsThree() # object.contact_getByOpenId() actual_result, desc = object.contact_getByOpenId() self.assertEqual(actual_result, 0, desc)