def test_030_api_78dk_app_process_saveUserPlaceOrderGps_lat_lon_is_overlong(self): """ Time :2019-08-14 author : 闫红 desc : 保存位置信息V1.4.0,gpsinfolat,gpsinfolon超长 """ res = AppAction.test_api_78dk_app_process_saveUserPlaceOrderGps(gpsaddress=gpsaddress, gpscity=gpscity, gpsdetail=gpsdetail, gpsinfolat=MD.words_en(256), gpsinfolon=MD.words_en(256), gpsprovince=gpsprovince, gpsregion=gpsregion) Assertion.verity(json.loads(res)['code'], '20000') Assertion.verity(json.loads(res)['msg'], '系统繁忙,请稍候再试')
def test_026_api_78dk_app_perCenter_getTakeGoodsContent_contractuuid_overlong( self): """ Time :2019-08-13 author : 闫红 desc : 获取确认收货协议参数V1.40.合同uuid不存在 """ res = AppAction.test_api_78dk_app_perCenter_takeGoods( contractuuid=MD.words_en(256)) Assertion.verity(json.loads(res)['code'], '20000')
def test_039_api_78dk_sht_mm_modifymerchantinfo_taxregistrationnumber_notnumber(self): """ 保存商户基础信息---税务登记证号码不是纯数字 :return: """ res = json.loads(ShtAction.test_api_78dk_sht_mm_modifyMerchantInfo(tradefirst='1', shzzjgdm='', name=name, uuid=sht_merchantUuid, organizationcode='123', taxregistrationnumber=MockData.words_en(256), socialunifiedcreditcode='123', shswdjz='', shyyzz='', installmentcooperationorgs=[], city='110100', province='110000', papermergen=False, tradesecond='7')) Assertion.verity(res['msg'], '税务登记证号过长') Assertion.verity(res['code'], 'S0006')