Rev 3098 | Blame | Compare with Previous | Last modification | View Log | RSS feed
'''Created on 13-Sep-2010@author: rajveer'''from shop2020.clients.LogisticsClient import LogisticsClientimport datetimeimport timefrom shop2020.thriftpy.logistics.ttypes import DeliveryTypeclient = LogisticsClient().get_client()for i in range(0, 110):print time.time()fromtime=datetime.datetime.now()client.getLogisticsEstimation(1491, "110004", DeliveryType.PREPAID)totime=datetime.datetime.now()print totime-fromtime