def test_31_api_78dk_platform_cm_base_updateChannel(self): """ 编辑子渠道 :return: """ res = PlatformAction.test_api_78dk_platform_cm_base_updateChannel( channeluuid=channelid_stream, city="510100", name=channelname_stream, note='备注', province="510000", region="510107", shortname=channelname_stream + '简称', operatoruuid='') Assertion.verity(json.loads(res)['msg'], '成功') Assertion.verity(json.loads(res)['code'], '10000')
def test_11_api_78dk_platform_cm_base_updateChannel(self): # 编辑渠道 res = PlatformAction.test_api_78dk_platform_cm_base_updateChannel( channeluuid=channelid, city="510100", name=channelname, note='备注', province="510000", region="510107", shortname=channelname + '简称', operatoruuid='') Assertion.verity(json.loads(res)['msg'], '成功') Assertion.verity(json.loads(res)['code'], '10000')