mirror of
https://github.com/openzim/zimit.git
synced 2025-09-23 03:52:16 -04:00
Updated test and stats to new crawl.json format
This commit is contained in:
parent
554fff5c87
commit
4b7e504d99
@ -47,8 +47,9 @@ def test_user_agent():
|
||||
def test_stats_output():
|
||||
with open("/output/crawl.json") as fh:
|
||||
assert json.loads(fh.read()) == {
|
||||
"numCrawled": 5,
|
||||
"workersRunning": 0,
|
||||
"crawled": 5,
|
||||
"pending": 0,
|
||||
"pendingPages": [],
|
||||
"total": 5,
|
||||
"limit": {"max": 0, "hit": False},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user