Fix number of items for warc2zim since move to Brave changed this

This commit is contained in:
benoit74 2023-10-30 11:56:06 +01:00
parent 56fb86e531
commit 24a250f0ee
No known key found for this signature in database
GPG Key ID: B89606434FC7B530

View File

@ -59,12 +59,12 @@ def test_stats_output():
}
with open("/output/warc2zim.json") as fh:
assert json.loads(fh.read()) == {
"written": 9,
"total": 9,
"written": 10,
"total": 10,
}
with open("/output/stats.json") as fh:
assert json.loads(fh.read()) == {
"done": 9,
"total": 9,
"done": 10,
"total": 10,
"limit": {"max": 0, "hit": False},
}