Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

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