Пример #1
0
 def test_08_api_78dk_platform_cm_base_viewChannels(self):
     """
     查询对应名称的 渠道列表
     :return:
     """
     res = PlatformAction.test_api_78dk_platform_cm_base_viewChannels(pagecurrent=1, name=channelname, pagesize=8)
     Assertion.verity(json.loads(res)['msg'], '成功')
     Assertion.verity(json.loads(res)['code'], '10000')
Пример #2
0
 def test_09_api_78dk_platform_cm_base_viewChannels_all(self):
     # 渠道列表全部
     res = PlatformAction.test_api_78dk_platform_cm_base_viewChannels(
         pagecurrent=1, name='', pagesize=10)
     Assertion.verity(json.loads(res)['msg'], '成功')
     Assertion.verity(json.loads(res)['code'], '10000')
     Assertion.verityNot(
         json.loads(res)['data']['totalCount'], 0, '数量至少大于等于1')