Esempio n. 1
0
 def test_24_api_78dk_platform_cm_state_updateOpenCloseState_open(self):
     """
     渠道开关状态为open
     :return:
     """
     res = PlatformAction.test_api_78dk_platform_cm_state_updateOpenCloseState(uid=channelid, updatestate='open')
     Assertion.verity(json.loads(res)['msg'], '成功')
     Assertion.verity(json.loads(res)['code'], '10000')
Esempio n. 2
0
 def test_22_api_78dk_platform_cm_state_updateOpenCloseState_close(self):
     # 渠道开关状态为close
     res = PlatformAction.test_api_78dk_platform_cm_state_updateOpenCloseState(
         uid=channelid, updatestate='close')
     Assertion.verity(json.loads(res)['msg'], '成功')
     Assertion.verity(json.loads(res)['code'], '10000')