View as "text/plain" | Blame | Last modification | View Log | RSS feed
'''Created on 22/05/2018@author: Govind'''from shop2020.content.main.handler.ContentHandler import ContentHandlerfrom shop2020.thriftpy.utils.ttypes import *"""mail = Mail()mail.to = ["rajveer.singh@shop2020.in","rajveer.singh@shop2020.in"]mail.subject = "Test mail subject"mail.data = "Mail text"mail.password = "dummy"mail.sender="rajveer.singh@shop2020.in"client.sendMail(mail)"""#def test_get_reports():# reports = client.getReports(2)# for r in reports:# print r.description#def test_email_archival():# client.markEmailAsSent(29)#test_get_reports()#test_email_archival()if __name__ == '__main__':print ContentHandler().isAlive()