Re: How to access mail.outbox

2009-01-25 Thread Russell Keith-Magee
On Mon, Jan 26, 2009 at 12:20 AM, Oleg Oltar wrote: > Hi! > I am trying to write nose tests for my django application. One of the points > is to check if > emails are sent properly. > The suggested in the doc >

How to access mail.outbox

2009-01-25 Thread Oleg Oltar
Hi! I am trying to write nose tests for my django application. One of the points is to check if emails are sent properly. The suggested in the doc way( http://docs.djangoproject.com/en/dev/topics/testing/#django.core.mail.django.core.mail.outbox) it to check it is to use mail.outbox variable