From 5f631cba958c1b67c64202f034569f788689e289 Mon Sep 17 00:00:00 2001
From: Bryan Newbold <bnewbold@robocracy.org>
Date: Wed, 23 Jun 2021 18:44:31 -0700
Subject: tests: small citeproc style changes (to match Pipfile.lock update)

---
 python/tests/transform_csl.py    | 5 +++--
 python/tests/web_citation_csl.py | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

(limited to 'python')

diff --git a/python/tests/transform_csl.py b/python/tests/transform_csl.py
index 6436f876..77ce1bff 100644
--- a/python/tests/transform_csl.py
+++ b/python/tests/transform_csl.py
@@ -55,8 +55,9 @@ def test_csl_pubmed_bibtex(crossref_importer):
   number={4}, 
   journal={Roczniki Panstwowego Zakladu Higieny}, 
   author={Mędrela-Kuder and Szymura}, 
-  year={2018}}
+  year={2018}
+  }
     """.strip()
     assert citeproc_csl(csl, 'harvard1', html=True).strip() == """
-    Mędrela-Kuder &amp; Szymura, 2018. Selected anti-health behaviours among women with osteoporosis. <i>Roczniki Panstwowego Zakladu Higieny</i>, 69`(4).
+    Mędrela-Kuder and Szymura (2018) ‘Selected anti-health behaviours among women with osteoporosis’, <i>Roczniki Panstwowego Zakladu Higieny</i>, 69`(4). doi: 10.32394/rpzh.2018.0046.
     """.strip()
diff --git a/python/tests/web_citation_csl.py b/python/tests/web_citation_csl.py
index fb3ce58d..50a2d6e8 100644
--- a/python/tests/web_citation_csl.py
+++ b/python/tests/web_citation_csl.py
@@ -23,7 +23,7 @@ def test_release_bibtex(app, api):
     json.loads(rv.data.decode('utf-8'))
     rv = app.get('/release/aaaaaaaaaaaaarceaaaaaaaaam/citeproc?style=modern-language-association')
     assert rv.status_code == 200
-    assert rv.data.decode('utf-8').startswith('Ioannidis, John. “Why Most Published Research Findings Are False”. 2.8 (2005)')
+    assert rv.data.decode('utf-8').startswith('Ioannidis, J.. Why Most Published Research Findings Are False')
 
     # "dummy" demo entity; very minimal metadata
     rv = app.get('/release/aaaaaaaaaaaaarceaaaaaaaaai')
-- 
cgit v1.2.3