def test_016_historyCarRecord(self): financeid = fs.get_car_id(c.car_owner) # 车辆档案,只读,支持finance warn monitor三个模块的权限 f.test_historyCarRecord_customerMessage(financeid) # 获取车辆的车贷数据 r = json.loads(f.test_historyCarRecord_getCarFinance(financeid)) a.verity(r['data']['owner'], c.car_owner) # 获取车辆设备页面初始化数据 f.test_historyCarRecord_getCarInit(financeid) # 获取该车辆的实时定位数据 f.test_historyCarRecord_getCarLocations(financeid) # 获取车辆的报警记录 f.test_historyCarRecord_getCarWarn(financeid, 1, 10) # 获取车辆设备的报警统计信息 f.test_historyCarRecord_getCarWarnCount(financeid) # 车辆档案--获取gps设备列表 f.test_historyCarRecord_getGpsByFid(financeid) # 车辆档案--停车统计--常停地址 f.test_historyCarRecord_listLocation( '', orgCode, '', 1, 10, financeid, c.deviceCode, c.station_starttime, c.station_endtime, 1) # 车辆档案--停车统计--时间分布 f.test_historyCarRecord_quantumLocation( 1, c.deviceCode, c.station_starttime, c.station_endtime) # 车辆档案--停车统计--停车明细 f.test_historyCarRecord_stationDetail( '', '', '', 1, 10, 1, c.deviceCode, c.station_starttime, c.station_endtime, 1)
def test_historyCarRecord_listLocation(self): # 车辆档案--停车统计--常停地址 FinanceAction.test_historyCarRecord_listLocation( '', '0039', '', 1, 10, 13, '12wxwire00013', '2018-10-07 00:00:00' , '2018-10-10 23:59:59', 1)