updated unit tests and travis config for python 2.6 and 3
This commit is contained in:
parent
c449e3f8e1
commit
30ff4319e2
6 changed files with 19 additions and 20 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue