aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-01-25 17:13:14 -0800
committerBryan Newbold <bnewbold@archive.org>2021-01-25 17:13:14 -0800
commit5aed3803affdb3f05b881cb90496180be45da440 (patch)
tree5a4de19de020ad063f5f85219ad24851ed7373c7 /tests
parent3340910073bca6483937ed6d9e5f5b5942833c2e (diff)
downloadfatcat-scholar-5aed3803affdb3f05b881cb90496180be45da440.tar.gz
fatcat-scholar-5aed3803affdb3f05b881cb90496180be45da440.zip
refactor ES configuration setting names
Diffstat (limited to 'tests')
-rw-r--r--tests/test_issue_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_issue_db.py b/tests/test_issue_db.py
index 965b925..9fdab94 100644
--- a/tests/test_issue_db.py
+++ b/tests/test_issue_db.py
@@ -11,7 +11,7 @@ def test_issue_db_basics() -> None:
api_conf.host = settings.FATCAT_API_HOST
api = fatcat_openapi_client.DefaultApi(fatcat_openapi_client.ApiClient(api_conf))
- es_client = elasticsearch.Elasticsearch(settings.FATCAT_ELASTICSEARCH_BACKEND)
+ es_client = elasticsearch.Elasticsearch(settings.ELASTICSEARCH_FATCAT_BASE)
issue_db = IssueDB(settings.SCHOLAR_ISSUEDB_PATH)
issue_db.init_db()