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
It would be nice to add a small number of test cases that use a live SMTP server. At present, any non-dry-run test cases mock the STMP library calls.
Start an SMTP server in a separate process using a pytest fixture. Something roughly equivalent to this CLI: python -m smtpd -n -c DebuggingServer localhost:1025 . Then a test case would use a server config that connects to localhost:1025.
It would be nice to add a small number of test cases that use a live SMTP server. At present, any non-dry-run test cases mock the STMP library calls.
Start an SMTP server in a separate process using a pytest fixture. Something roughly equivalent to this CLI:
python -m smtpd -n -c DebuggingServer localhost:1025
. Then a test case would use a server config that connects tolocalhost:1025
.https://stackoverflow.com/questions/20349170/socket-error-errno-111-connection-refused
The text was updated successfully, but these errors were encountered: