mirror of
https://github.com/openzim/zimit.git
synced 2025-12-31 04:23:15 +00:00
Fix tests, there are in fact only 7 items to be pushed to the ZIM
7 entries are expected: https://isago.rskg.org/ https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css https://isago.rskg.org/static/favicon256.png https://isago.rskg.org/conseils https://isago.rskg.org/faq https://isago.rskg.org/a-propos https://isago.rskg.org/static/tarifs-isago.pdf 1 unexpected entry is not produced anymore by Browsertrix crawler: https://dict.brave.com/edgedl/chrome/dict/en-us-10-1.bdic This was a technical artifact
This commit is contained in:
parent
a9769b2871
commit
456219deb3
1 changed files with 4 additions and 4 deletions
|
|
@ -65,12 +65,12 @@ def test_stats_output():
|
|||
}
|
||||
with open("/output/warc2zim.json") as fh:
|
||||
assert json.loads(fh.read()) == {
|
||||
"written": 8,
|
||||
"total": 8,
|
||||
"written": 7,
|
||||
"total": 7,
|
||||
}
|
||||
with open("/output/stats.json") as fh:
|
||||
assert json.loads(fh.read()) == {
|
||||
"done": 8,
|
||||
"total": 8,
|
||||
"done": 7,
|
||||
"total": 7,
|
||||
"limit": {"max": 0, "hit": False},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue