All tests working now
This commit is contained in:
parent
61a2d53308
commit
0ac685d223
2 changed files with 9 additions and 5 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue