Subversion Repositories SmartDukaan

Rev

Rev 23687 | 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.clients.PaymentClient import PaymentClient
23687 govind 8
 
9
from shop2020.thriftpy.utils.ttypes import *
10
 
11
payment_client = PaymentClient()
12
client = payment_client.get_client()
13
 
14
"""
15
mail = Mail()
16
mail.to = ["rajveer.singh@shop2020.in","rajveer.singh@shop2020.in"]
17
mail.subject = "Test mail subject"
18
mail.data = "Mail text"
19
mail.password = "dummy"
20
mail.sender="rajveer.singh@shop2020.in"
21
client.sendMail(mail)
22
"""
23
 
24
#def test_get_reports():
25
#    reports = client.getReports(2)
26
#   for r in reports:
27
 #       print r.description
28
 
29
#def test_email_archival():
30
 #   client.markEmailAsSent(29)
31
 
32
 
33
 
34
#test_get_reports()
35
#test_email_archival()
36
 
37
if __name__ == '__main__':
38
    print client.isAlive()