def test_16api_78dk_platform_cm_state_viewStateChannels_all(self): # 渠道状态列表全部 res = PlatformAction.test_api_78dk_platform_cm_state_viewStateChannels( name='', pagecurrent=1, pagesize=10, openclosestate='', freezestate='', auditstate='') Assertion.verity(json.loads(res)['msg'], '成功') Assertion.verity(json.loads(res)['code'], '10000')
def test_15api_78dk_platform_cm_state_viewStateChannels(self): # 渠道状态列表 res = PlatformAction.test_api_78dk_platform_cm_state_viewStateChannels( name='', pagecurrent=1, pagesize=10, openclosestate='', freezestate='', auditstate='') # res = PlatformAction.test_api_78dk_platform_cm_state_viewStateChannels(name=channelname, pagecurrent=1, # pagesize=10, # openclosestate='open', # freezestate='normal', # auditstate=0) Assertion.verity(json.loads(res)['msg'], '成功') Assertion.verity(json.loads(res)['code'], '10000')