On Wed, Aug 24, 2011 at 11:06 AM, Anand Chitipothu <anandol...@gmail.com> wrote: > 2011/8/24 Dhananjay Nene <dhananjay.n...@gmail.com>: >> What would be good options to embed a python mail server ? >> >> The scope is strictly restricted to automated testing. So the embedded >> mail server (embedded in the test cases) acts as the server which >> receives email and is in turn further queried to ensure receipt of >> email correctly. >> >> One option is http://lamsonproject.org/ >> >> Are there any other options you might suggest? > > Do you really want to run a mail server for testing? I usually monkey > patch the function to send email and store the emails in a global > variable for later access. >
In automated acceptance testing context I believe it would be appropriate to implement a mail server. With unit tests, stubbing the mail server with a mock would've been fine. Dhananjay _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers