fixes a microsofttranslator test that was too noisy

This commit is contained in:
Marco Bonetti 2014-04-06 09:33:40 +02:00
parent 2ad3f83e61
commit c1ebedd95a
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,8 @@
Version 0.7.5
-------------
* Fixed external JavaScript import to be url scheme independent (PR #101, thanks @tsouvarev)
* Fixed a test
Version 0.7.4
-------------

View file

@ -17,7 +17,7 @@ client_secret = "FLghnwW4LJmNgEG+EZkL8uE+wb7+6tkOS8eejHg3AaI="
class TestTranslator(unittest.TestCase):
def test_translate(self):
client = Translator(client_id, client_secret, debug=True)
client = Translator(client_id, client_secret, debug=False)
self.assertEqual(client.translate("hello", "pt"), u'Ol\xe1')
def test_invalid_client_id(self):