Skip to content

Commit

Permalink
better tests structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jmg committed Jan 24, 2014
1 parent ce09b9e commit c9eda34
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
from pyfb import Pyfb

try:
from test_data import config
except IOError:
print "\nERROR! You must have a test_data.json file providing the facebook app id and the access token."
from test_data import config
except:
print "\nERROR! You must have a test_data.py file providing the facebook app id and the access token."
print "\nExample:"
print '\t{\n\t\t"FACEBOOK_APP_ID": "your_app_id"\n\t\t"FACEBOOK_TOKEN": "your_token"\n\t}\n'
print '\tconfig = {\n\t\t"FACEBOOK_APP_ID": "your_app_id"\n\t\t"FACEBOOK_TOKEN": "your_token"\n\t}\n'
exit(1)


Expand Down

0 comments on commit c9eda34

Please sign in to comment.