Skip to content

Commit

Permalink
Update and rename res/tests.py to res/frances-tests/tests.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fskinner19 authored Feb 21, 2020
1 parent e93a53d commit 4ce32af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions res/tests.py → res/frances-tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

import os
import sys
#webapp_path = os.path.join('/Users/christian/www/pyref')
webapp_path = os.path.join('/Users/fskin/pyref')
#webapp_path = os.path.join('/Users/your_name/www/pyref')
webapp_path = os.path.join('/Users/your_name/pyref')
sys.path.append(webapp_path)

os.environ['DJANGO_SETTINGS_MODULE'] = 'pyref.settings'
Expand All @@ -26,7 +26,7 @@
import requests
import json

token="gx43LyUuTTD0zoTWx8qKpWbWi3euTmx7FCM3fJjY"
token="Enter Your Token Here"
payload = {"bibcode": ["2019MNRAS.488.2332L"],
"sort": "first_author asc",
"format":
Expand Down Expand Up @@ -56,4 +56,4 @@
print('doi:', ref_json['doi'])
print('bibcode:', ref_json['bibcode'])

response_json['export']
response_json['export']

0 comments on commit 4ce32af

Please sign in to comment.