You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.
When running the server/tests/test_messaging_service.py test script in Travis-CI, it fails with the following output:
======================================================================
ERROR: test_send_email_success (__main__.SendEmailTestCase)
Does the send_email function return successfully?
----------------------------------------------------------------------
Traceback (most recent call last):
File "server/tests/test_messaging_service.py", line 49, in test_send_email_success
self.assertIsNone(messaging_service.send_email(test_email, subject, message, 'html'))
File "/home/travis/build/IBM-Bluemix/logistics-wizard/server/services/messaging.py", line 75, in send_email
server.ehlo()
File "/opt/python/2.7.9/lib/python2.7/smtplib.py", line 413, in ehlo
self.putcmd(self.ehlo_msg, name or self.local_hostname)
File "/opt/python/2.7.9/lib/python2.7/smtplib.py", line 341, in putcmd
self.send(str)
File "/opt/python/2.7.9/lib/python2.7/smtplib.py", line 333, in send
raise SMTPServerDisconnected('please run connect() first')
SMTPServerDisconnected: please run connect() first
We need to determine what is causing this failure and create a workaround so Travis can test the email sending successfully.
The text was updated successfully, but these errors were encountered:
When running the
server/tests/test_messaging_service.py
test script in Travis-CI, it fails with the following output:We need to determine what is causing this failure and create a workaround so Travis can test the email sending successfully.
The text was updated successfully, but these errors were encountered: