updated unit tests and travis config for python 2.6 and 3

This commit is contained in:
cash 2014-01-11 15:52:46 -05:00
parent c449e3f8e1
commit 30ff4319e2
6 changed files with 19 additions and 20 deletions

View file

@ -1,5 +1,11 @@
import os
import sys
if sys.version_info[0] == 2 and sys.version_info[1] == 6:
import unittest2 as unittest
else:
import unittest
app_key = os.environ.get('APP_KEY')
app_secret = os.environ.get('APP_SECRET')
oauth_token = os.environ.get('OAUTH_TOKEN')