gaetestbed
gaetestbed copied to clipboard
[Feature] Receiving Mails
For the moment, one of the only ways one has to test the mail handling functionality of AppEngine is through the /_ah/admin interface, which can get a get old. It would be great to be able to use gaetestbed to test receiving email.
So you'd like something along the lines of...
self.send_mail_to_app(to="[email protected]", ...)
self.assertTrue(your mailbox handler was called)
?
Well, I should have RTFM. Thanks for the free tech support.
I misunderstood. Yeah, your example would be entirely ideal. I don't need any additional assertions, I can inspect the state of the app to ensure it worked correctly.