diff options
author | Christian Clauss <cclauss@me.com> | 2021-02-16 20:32:40 +0100 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2021-02-23 15:19:48 -0800 |
commit | 0d46fb5fac3c7a1268618a3ec0a9956b79fdbeaf (patch) | |
tree | fb3b243dd2b228df37bbe3b94a6c54fcbf21ff12 /tests/test_issue_db.py | |
parent | 537659325664b47b01c24e82cb4a0e850cd129c0 (diff) | |
download | fatcat-scholar-0d46fb5fac3c7a1268618a3ec0a9956b79fdbeaf.tar.gz fatcat-scholar-0d46fb5fac3c7a1268618a3ec0a9956b79fdbeaf.zip |
Revert undesirable changes
Diffstat (limited to 'tests/test_issue_db.py')
-rw-r--r-- | tests/test_issue_db.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_issue_db.py b/tests/test_issue_db.py index d164ef6..9fdab94 100644 --- a/tests/test_issue_db.py +++ b/tests/test_issue_db.py @@ -16,8 +16,8 @@ def test_issue_db_basics() -> None: issue_db = IssueDB(settings.SCHOLAR_ISSUEDB_PATH) issue_db.init_db() - with open("tests/files/sim_collections.json") as f: + with open("tests/files/sim_collections.json", "r") as f: issue_db.load_pubs(f.readlines(), api) - with open("tests/files/sim_items.json") as f: + with open("tests/files/sim_items.json", "r") as f: issue_db.load_issues(f.readlines(), es_client) |