Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3098 rajveer 1
'''
2
Created on 13-Sep-2010
3
 
4
@author: rajveer
5
'''
6
 
7
from shop2020.clients.LogisticsClient import LogisticsClient
8
import datetime
9
import time
10
 
11
 
12
 
13
client = LogisticsClient().get_client()
14
 
15
for i in range(0, 110):
16
    print time.time()
17
    fromtime=datetime.datetime.now()
18
    client.getLogisticsEstimation(1491, "110004")
19
    totime=datetime.datetime.now()
20
    print totime-fromtime