summaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-01-06 22:25:26 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-01-06 22:25:26 +0100
commit171c4ae9f48984438e59bf521b3ec9dd78ce6d3d (patch)
treea8b8d1931f836d4505c6140c0fd46d9a3a78d65a /python/tests
parent3590cf0e06b6c4f1b1c9621a94c9567e398bca04 (diff)
downloadfatcat-171c4ae9f48984438e59bf521b3ec9dd78ce6d3d.tar.gz
fatcat-171c4ae9f48984438e59bf521b3ec9dd78ce6d3d.zip
datacite: indicate mismatched file in test
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/import_datacite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/import_datacite.py b/python/tests/import_datacite.py
index 881452ed..9ee479e8 100644
--- a/python/tests/import_datacite.py
+++ b/python/tests/import_datacite.py
@@ -297,7 +297,7 @@ def test_datacite_conversions(datacite_importer):
with open(dst, 'r') as f:
expected = json.loads(f.read())
- assert result == expected
+ assert result == expected, 'output mismatch in {}'.format(dst)
def test_index_form_to_display_name():
Case = collections.namedtuple('Case', 'input output')