Fix docstring for the test of the std.email action

Change-Id: I84072888543541a5914879071194bd91410a98d3
This commit is contained in:
Christian Berendt 2015-09-13 18:13:27 +02:00
parent 10fe36e621
commit 5b048ee6de

View File

@ -23,22 +23,22 @@ from mistral import exceptions as exc
from mistral.tests import base from mistral.tests import base
""" """
To try against a real SNMP server: To try against a real SMTP server:
1) set LOCAL_SMPTD = True 1) set LOCAL_SMTPD = True
run debug snmpd on the local machine: run debug smtpd on the local machine:
`sudo python -m smtpd -c DebuggingServer -n localhost:25` `sudo python -m smtpd -c DebuggingServer -n localhost:25`
Debugging server doesn't support password. Debugging server doesn't support password.
2) set REMOTE_SMPT = True 2) set REMOTE_SMTP = True
use external SNMP (like gmail), change the configuration, use external SMTP (like gmail), change the configuration,
provide actual username and password provide actual username and password
self.settings = {
'host': 'smtp.gmail.com:587',
'from': "youraccount@gmail.com",
'password': "secret"
}
self.settings = {
'host': 'smtp.gmail.com:587',
'from': 'youraccount@gmail.com',
'password': 'secret'
}
""" """
LOCAL_SMTPD = False LOCAL_SMTPD = False