aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-01-03 22:53:23 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-01-03 22:53:23 +0100
commit328d7901df30ba94685d34d6a428e798b4604839 (patch)
tree2902301f25442497df3dd6ee450b2d20afa86f38 /python/tests
parent55dcece5a476b1492bf6c7f4597a469b48b41264 (diff)
downloadfatcat-328d7901df30ba94685d34d6a428e798b4604839.tar.gz
fatcat-328d7901df30ba94685d34d6a428e798b4604839.zip
datacite: use normal.clean_doi
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/import_datacite.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/python/tests/import_datacite.py b/python/tests/import_datacite.py
index c2fcdec9..881452ed 100644
--- a/python/tests/import_datacite.py
+++ b/python/tests/import_datacite.py
@@ -281,10 +281,6 @@ def test_datacite_dict_parse(datacite_importer):
assert r.contribs[0].surname == None
assert len(r.refs) == 0
-def test_clean_doi():
- assert clean_doi("10.25513/1812-3996.2017.1.34\u201342") == "10.25513/1812-3996.2017.1.34-42"
- assert "123" == clean_doi("123")
-
def test_datacite_conversions(datacite_importer):
"""
Datacite JSON to release entity JSON representation. The count is hardcoded