예제 #1
0
 def test_33_api_78dk_platform_cm_state_updateFreezeState_normal(self):
     """
     解冻子渠道
     :return:
     """
     res = WebAction.test_api_78dk_platform_cm_state_updateFreezeState(
         uid=channelid_stream, updatestate='normal')
     Assertion.verity(json.loads(res)['msg'], '成功')
     Assertion.verity(json.loads(res)['code'], '10000')
예제 #2
0
 def test_19_api_78dk_platform_cm_state_updateFreezeState_freeze(self):
     """
     冻结渠道
     :return:
     """
     res = WebAction.test_api_78dk_platform_cm_state_updateFreezeState(
         uid=channelid, updatestate='freeze')
     Assertion.verity(json.loads(res)['msg'], '成功')
     Assertion.verity(json.loads(res)['code'], '10000')