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+')