wrolpi/modules/zim/test
lrnselfreliance 92fa3f785f
files: shared modeler batch loop for video, doc, zim, archive (#722)
* files: shared modeler batch loop for video, doc, zim, archive

Paging, skip-ids, progress, and cancel yields live in
wrolpi.files.modeler.run_modeler_loop.  Each module still owns select /
prepare / apply and its transaction style: video probes outside the write
lock, docs use one write per file with lock retries, zim and archive use
one write per page.  Archive HTML that is not a SingleFile raises
SkipModeler so apply_indexers can claim it.

* files: quieter batch-modeler errors; drop unused imports

Break out of a batch page on InvalidRequestError after a flush failure
so the rest of the page does not each log the same poisoned session.
Re-raise PYTEST apply failures without a misleading commit-failure
message.  Remove asyncio/List/OperationalError/PYTEST/Iterable leftovers
from docs, archive, and zim.
2026-09-24 16:47:46 -06:00
..
__init__.py Zim/Kiwix (Wikipedia) feature 2023-07-10 21:30:40 -06:00
test_api.py zim: recompute the outdated-Zims flag after startup and on Delete (#706) 2026-09-12 15:19:36 -06:00
test_lib.py Postgres -> SQLite hard cutover: the database moves into the media directory. 2026-07-12 14:09:37 -06:00
test_read_config_value.py zim: address PR review — config race, YAML null, path traversal, pinned build 2026-07-20 19:10:09 -06:00
test_restart_kiwix.py zim: recompute the outdated-Zims flag after startup and on Delete (#706) 2026-09-12 15:19:36 -06:00
test_start_kiwix_serve.py zim: address PR review — config race, YAML null, path traversal, pinned build 2026-07-20 19:10:09 -06:00
test_zim_downloaders.py Migrating Kiwix downloaders. 2026-05-07 15:54:53 -06:00
test_zim_modeler_loop.py files: shared modeler batch loop for video, doc, zim, archive (#722) 2026-09-24 16:47:46 -06:00