summaryrefslogtreecommitdiffstats
path: root/python/tests/transform_csl.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-06-23 18:44:31 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-06-23 18:44:31 -0700
commit5f631cba958c1b67c64202f034569f788689e289 (patch)
treed941d5e3a0d7f0890f4906c70e23eae7d988873a /python/tests/transform_csl.py
parent35f29b0b4cb9c921c0ca03e8ac11dcd185df2fd3 (diff)
downloadfatcat-5f631cba958c1b67c64202f034569f788689e289.tar.gz
fatcat-5f631cba958c1b67c64202f034569f788689e289.zip
tests: small citeproc style changes (to match Pipfile.lock update)
Diffstat (limited to 'python/tests/transform_csl.py')
-rw-r--r--python/tests/transform_csl.py5
1 files changed, 3 insertions, 2 deletions
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()