Skip to content

Commit

Permalink
Merge pull request #21 from sharoonthomas/test-env
Browse files Browse the repository at this point in the history
Use test credentials from travis to prevent abuse
  • Loading branch information
Sharoon Thomas committed May 19, 2015
2 parents f470fe5 + 62b8024 commit e6e61e1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
:copyright: (c) 2012 by Openlabs Technologies & Consulting (P) Limited
:license: BSD, see LICENSE for more details.
"""
import os
import unittest
from microsofttranslator import Translator, TranslateApiException

client_id = "translaterpythonapi"
client_secret = "FLghnwW4LJmNgEG+EZkL8uE+wb7+6tkOS8eejHg3AaI="
client_id = os.environ['CLIENT_ID']
client_secret = os.environ['CLIENT_SECRET']

default_languages = [u'en', u'fr', u'de']

Expand Down

0 comments on commit e6e61e1

Please sign in to comment.