From 4ce32af51901c6012e4d0d2516d6a97ec431fc40 Mon Sep 17 00:00:00 2001 From: Frances M Skinner <53088864+fskinner19@users.noreply.github.com> Date: Fri, 21 Feb 2020 14:47:09 -0500 Subject: [PATCH] Update and rename res/tests.py to res/frances-tests/tests.py --- res/{ => frances-tests}/tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename res/{ => frances-tests}/tests.py (88%) diff --git a/res/tests.py b/res/frances-tests/tests.py similarity index 88% rename from res/tests.py rename to res/frances-tests/tests.py index fa3d722..4f64358 100644 --- a/res/tests.py +++ b/res/frances-tests/tests.py @@ -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' @@ -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": @@ -56,4 +56,4 @@ print('doi:', ref_json['doi']) print('bibcode:', ref_json['bibcode']) -response_json['export'] \ No newline at end of file +response_json['export']