def test_021_api_telecom_get_status_token_error(self):
     """
     Time       :2019-06-19
     author     : 罗林
     desc       :获取运营商任务当前状态接口
     """
     rs1 = TelecomcrawlerAction.test_api_telecom_get_status(
         reqid='18750fa83bcc11e98811a81e844f9fc2', token='cdddef32b7ec4be9926d30f5451e76c37')
     Assertion.verity(json.loads(rs1)['retCode'], 0)
     Assertion.verity(json.loads(rs1)['retMsg'], 'token错误')
     Assertion.verityNone(json.loads(rs1)['data'])
 def test_002_api_telecom_get_status(self):
     """
     Time       :2019-06-19
     author     : 罗林
     desc       :获取运营商任务当前状态接口
     """
     rs1 = TelecomcrawlerAction.test_api_telecom_get_status(
         reqid=reqid, token=token)
     Assertion.verity(json.loads(rs1)['retCode'], 1)
     Assertion.verity(json.loads(rs1)['retMsg'], '成功')
     Assertion.verity(json.loads(rs1)['data']['extra']['remark'], '')
     Assertion.verity(json.loads(rs1)['data']['phaseStatus'], 'LOGIN_FAILED')
     Assertion.verity(json.loads(rs1)['data']['reqId'], reqid)
     Assertion.verity(json.loads(rs1)['data']['stage'], 'PREPARE')