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