def test_042_api_78dk_app_process_centerCallback(self): """ (回调接口)爬虫接口中心回调_正常 :return: """ AppAction.test_api_78dk_app_process_centerCallback(data='', message='', result='', task_id='', timestamp='', type='', user_id='')
def test_047_api_78dk_app_process_centerCallback_(self): """ (回调接口)爬虫接口中心回调_请求data为错误格式 :return: """ AppAction.test_api_78dk_app_process_centerCallback( data='', message='阿萨德', result='success', task_id='123', timestamp='1586760300', type='1', user_id='13')
def test_049_api_78dk_app_process_centerCallback_(self): """ (回调接口)爬虫接口中心回调_请求user_id为空 :return: """ res = json.loads( AppAction.test_api_78dk_app_process_centerCallback( data='', message='阿萨德', result='success', task_id='123', timestamp='1586760300', type='1', user_id='')) Assertion.verity(res['code'], '20000')