From 7410c1657f93a43401a8dafd8dc7adfdcf561abd Mon Sep 17 00:00:00 2001 From: Jussi Timperi Date: Sat, 4 Jul 2015 03:13:53 +0300 Subject: [PATCH] Google: restore test for translate --- plugins/Google/test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/Google/test.py b/plugins/Google/test.py index 9d9495984..a57f57c62 100644 --- a/plugins/Google/test.py +++ b/plugins/Google/test.py @@ -69,6 +69,9 @@ class GoogleTestCase(ChannelPluginTestCase): self.assertRegexp('fight supybot moobot', r'.*supybot.*: \d+') self.assertNotError('fight ... !') + def testTranslate(self): + self.assertRegexp('translate en es hello world', 'Hola mundo') + def testCalcDoesNotHaveExtraSpaces(self): self.assertNotRegexp('google calc 1000^2', r'\s+,\s+')