bots: Simplify test_googletranslate.py.

Also add sender_full_name parameter in StubBotTestCase.verify_reply().
This commit is contained in:
neiljp (Neil Pilgrim) 2017-12-10 15:25:57 -08:00
parent c8824cb2e5
commit 84d92337be
2 changed files with 41 additions and 108 deletions

View file

@ -124,6 +124,7 @@ class StubBotTestCase(TestCase):
message = dict(
sender_email='foo@example.com',
sender_full_name='Foo Test User',
content=request,
)
bot_handler.reset_transcript()