Re: Sending email via SMTP in a unit test

2010-04-23 Thread Vasil Vangelovski
Yes, I'm using trunk (1.2). Thanks Russell, that helped. On Fri, Apr 23, 2010 at 1:59 PM, Russell Keith-Magee wrote: > On Fri, Apr 23, 2010 at 6:27 PM, Vasil Vangelovski > wrote: >> Is there a way to run unit tests in such a way that email will be sent >> via the SMTP email backend when there's

Re: Sending email via SMTP in a unit test

2010-04-23 Thread Russell Keith-Magee
On Fri, Apr 23, 2010 at 6:27 PM, Vasil Vangelovski wrote: > Is there a way to run unit tests in such a way that email will be sent > via the SMTP email backend when there's a call to send_mail in the > unit test? In 1.1; no. In 1.1, Django has a single mail API, and the test setup code replaces t

Sending email via SMTP in a unit test

2010-04-23 Thread Vasil Vangelovski
Is there a way to run unit tests in such a way that email will be sent via the SMTP email backend when there's a call to send_mail in the unit test? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us..