Subversion Repositories SmartDukaan

Rev

Rev 23688 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23687 govind 1
'''
2
Created on 22/05/2018
3
 
4
@author: Govind
5
'''
6
 
23689 govind 7
from shop2020.model.v1.order.impl.OrderServiceHandler import OrderServiceHandler
23687 govind 8
 
9
from shop2020.thriftpy.utils.ttypes import *
10
 
11
 
12
 
13
order_client=OrderServiceHandler()
14
 
23688 govind 15
 
23687 govind 16
"""
17
mail = Mail()
18
mail.to = ["rajveer.singh@shop2020.in","rajveer.singh@shop2020.in"]
19
mail.subject = "Test mail subject"
20
mail.data = "Mail text"
21
mail.password = "dummy"
22
mail.sender="rajveer.singh@shop2020.in"
23
client.sendMail(mail)
24
"""
25
 
26
#def test_get_reports():
27
#    reports = client.getReports(2)
28
#   for r in reports:
29
 #       print r.description
30
 
31
#def test_email_archival():
32
 #   client.markEmailAsSent(29)
33
 
34
 
35
 
36
#test_get_reports()
37
#test_email_archival()
38
 
39
if __name__ == '__main__':
23688 govind 40
    print order_client.isAlive()