gaetestbed icon indicating copy to clipboard operation
gaetestbed copied to clipboard

[Feature] Receiving Mails

Open markchadwick opened this issue 13 years ago • 3 comments

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.

markchadwick avatar Jun 13 '11 01:06 markchadwick

So you'd like something along the lines of...

self.send_mail_to_app(to="[email protected]", ...)
self.assertTrue(your mailbox handler was called)

?

jgeewax avatar Jun 13 '11 01:06 jgeewax

Well, I should have RTFM. Thanks for the free tech support.

markchadwick avatar Jun 13 '11 01:06 markchadwick

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.

markchadwick avatar Jun 13 '11 01:06 markchadwick