Add script to reset test sources

This commit is contained in:
Tim Van Baak 2024-09-21 14:41:57 -07:00
parent 4abb281715
commit c21f55da8d
1 changed files with 4 additions and 0 deletions

View File

@ -5,3 +5,7 @@ help: ## display this help
test: ## run pytest
python -m pytest
reset: ## delete all items in tests/ and update each source once
rm -v tests/*/*.item
find tests -name intake.json -printf "%h\n" | cut -c7- | xargs -n 1 python -m intake update -d tests -s