Files
vrobbler/scripts
Colin Powell 371e1d654c
All checks were successful
build / test (push) Successful in 1m57s
[tooling] Release in one step
2026-06-05 14:58:35 -04:00
..
2026-03-08 16:57:11 -04:00
2026-06-05 14:58:35 -04:00

Readme

Scripts are a collection of helpful utility scripts, or simple gut-check tests for various functional pieces.

test_recipe_scraper.py

Asserts various urls by making actual calls out to the internet, while our test suite mocks return values.

python ../manage.py shell < ../scripts/test_recipe_scraper.py
Eagerly running all tasks
Connected to sqlite@db.sqlite3
Checking: https://cookingwithmike.com/quinoa-meatloaf/
Checking: https://www.kingarthurbaking.com/recipes/overnight-sourdough-waffles-recipe
Checking: https://dirt.fyi/article/2026/02/25-years-of-ipod-brain?src=longreads

test_koreader_import.py

Run through an actual koreader sqlite file and make sure imports work as expected

rm db.sqlite3
cp ../db.sqlite3 .
python ../manage.py shell < ../scripts/test_koreader_import.py