aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/harvest_datacite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/harvest_datacite.py b/python/tests/harvest_datacite.py
index 5aaa8ac4..926d67ba 100644
--- a/python/tests/harvest_datacite.py
+++ b/python/tests/harvest_datacite.py
@@ -40,6 +40,6 @@ def test_datacite_harvest_date(mocker):
# check that we published the expected number of DOI objects were published
# to the (mock) kafka topic
- assert harvester.producer.produce.call_count == 25
+ assert harvester.producer.produce.call_count == 1
assert harvester.producer.flush.call_count == 1
assert harvester.producer.poll.called_once_with(0)