Skip to content

Commit

Permalink
Prevent abuse by storing test creds on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharoon Thomas committed May 19, 2015
1 parent f470fe5 commit 62b8024
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 62b8024

Please sign in to comment.