published by | Markus Holtermann |
---|---|
in blog | Markus Holtermann |
original entry | Django file and memory mail back-end for tests |
Whenever you write unit or integration tests for your Django application that involves sending mails, you end up with the LocMem mail back-end as a default set by Django during test setup. However, if you want to have a look at all the mails that have been sent, you are probably going to choose the File mail back-end.