示例#1
0
class TestFakeDatabase(unittest.TestCase):
    def testSendmail(self):
        try:
            self.email = Email('*****@*****.**')
            self.email.sendEmail("""<html><body>test message</body></html>""")
        except:
            self.fail('Error')
示例#2
0
 def testSendmail(self):
     try:
         self.email = Email('*****@*****.**')
         self.email.sendEmail("""<html><body>test message</body></html>""")
     except:
         self.fail('Error')