mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-04-27 08:24:44 +00:00
fixes a microsofttranslator test that was too noisy
This commit is contained in:
parent
2ad3f83e61
commit
c1ebedd95a
2 changed files with 3 additions and 1 deletions
2
CHANGES
2
CHANGES
|
|
@ -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
|
||||
-------------
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue