fix translate test to match new output
parent
58da599800
commit
d6e28ac26b
|
@ -27,7 +27,7 @@ class TestTranslation(unittest.TestCase):
|
||||||
input = Mock(group=lambda x: 'Estoy bien')
|
input = Mock(group=lambda x: 'Estoy bien')
|
||||||
tr2(self.phenny, input)
|
tr2(self.phenny, input)
|
||||||
|
|
||||||
self.assertIn("I'm fine", self.phenny.reply.call_args[0][0])
|
self.assertIn("'m fine", self.phenny.reply.call_args[0][0])
|
||||||
|
|
||||||
def test_translate_bracketnull(self):
|
def test_translate_bracketnull(self):
|
||||||
input = Mock(group=lambda x: 'Moja je lebdjelica puna jegulja')
|
input = Mock(group=lambda x: 'Moja je lebdjelica puna jegulja')
|
||||||
|
|
Loading…
Reference in New Issue