All tests working now

This commit is contained in:
Antonio de la Rosa 2016-07-25 05:45:15 +02:00
parent 61a2d53308
commit 0ac685d223
2 changed files with 9 additions and 5 deletions

View file

@ -11,12 +11,12 @@ class TestFieldMethods(unittest.TestCase):
self.assertTrue( s.send(config.portal_email, [config.email_test], 'This is a test', 'A message for test a simple email method', content_type='plain', attachments=[]) )
time.sleep(70)
s=sendmail.SendMail()
self.assertTrue( s.send(config.portal_email, [config.email_test], 'This is a test', 'A message for test a simple email method in <b>html</b>', content_type='html', attachments=[]) )
time.sleep(70)
s=sendmail.SendMail()
self.assertTrue( s.send(config.portal_email, [config.email_test], 'This is a test', 'A message for test a simple email method in <b>html</b> and attachments', content_type='html', attachments=['tests/images/image.jpg']) )
s.quit()
#s.quit()