Re: email not being sent from within unit tests

2008-08-25 Thread Andrew D. Ball
It turns out that this is by design: http://docs.djangoproject.com/en/dev/topics/testing/#e-mail-services This behavior is fine -- even better than the SMTP "black hole" setup that I have. Peace, Andrew On Tue, Aug 19, 2008 at 07:21:52PM -0400, Andrew D. Ball wrote: > I've noticed that email i

Re: email not being sent from within unit tests

2008-08-19 Thread Russell Keith-Magee
On Wed, Aug 20, 2008 at 7:21 AM, Andrew D. Ball <[EMAIL PROTECTED]> wrote: > > I've noticed that email isn't being sent during unit tests > in Django 1.0 beta 1. The django.core.mail.EmailMessage.send > method returns '1' as if it had sent 1 message successfully, > but the SMTP server doesn't get

email not being sent from within unit tests

2008-08-19 Thread Andrew D. Ball
I've noticed that email isn't being sent during unit tests in Django 1.0 beta 1. The django.core.mail.EmailMessage.send method returns '1' as if it had sent 1 message successfully, but the SMTP server doesn't get contacted at all. The same thing happens with django.core.mail.send_mail. Is this