Google: restore test for translate

This commit is contained in:
Jussi Timperi 2015-07-04 03:13:53 +03:00
parent a6d1909bd6
commit 7410c1657f

View File

@ -69,6 +69,9 @@ class GoogleTestCase(ChannelPluginTestCase):
self.assertRegexp('fight supybot moobot', r'.*supybot.*: \d+') self.assertRegexp('fight supybot moobot', r'.*supybot.*: \d+')
self.assertNotError('fight ... !') self.assertNotError('fight ... !')
def testTranslate(self):
self.assertRegexp('translate en es hello world', 'Hola mundo')
def testCalcDoesNotHaveExtraSpaces(self): def testCalcDoesNotHaveExtraSpaces(self):
self.assertNotRegexp('google calc 1000^2', r'\s+,\s+') self.assertNotRegexp('google calc 1000^2', r'\s+,\s+')