Subversion Repositories SmartDukaan

Rev

Rev 23689 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23689 Rev 23690
Line 2... Line 2...
2
Created on 22/05/2018
2
Created on 22/05/2018
3
 
3
 
4
@author: Govind
4
@author: Govind
5
'''
5
'''
6
 
6
 
-
 
7
 
7
from shop2020.model.v1.order.impl.OrderServiceHandler import OrderServiceHandler
8
from shop2020.clients.TransactionClient import TransactionClient
8
 
9
 
9
from shop2020.thriftpy.utils.ttypes import *
10
from shop2020.thriftpy.utils.ttypes import *
10
 
11
 
11
 
12
 
12
 
13
 
13
order_client=OrderServiceHandler()
14
order_client=TransactionClient()
-
 
15
client=order_client.get_client()
14
 
16
 
15
 
17
 
16
"""
18
"""
17
mail = Mail()
19
mail = Mail()
18
mail.to = ["rajveer.singh@shop2020.in","rajveer.singh@shop2020.in"]
20
mail.to = ["rajveer.singh@shop2020.in","rajveer.singh@shop2020.in"]
Line 35... Line 37...
35
 
37
 
36
#test_get_reports()
38
#test_get_reports()
37
#test_email_archival()
39
#test_email_archival()
38
 
40
 
39
if __name__ == '__main__':
41
if __name__ == '__main__':
40
    print order_client.isAlive()
42
    print client.isAlive()