Refactor handlers to be in their own classes for easier maintainability

This commit is contained in:
Miguel Jacq 2025-11-27 20:41:10 +11:00
parent d1ca60b779
commit 85f21e739d
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
19 changed files with 1826 additions and 1463 deletions

View file

@ -1,3 +1,11 @@
#!/bin/bash
set -eo pipefail
# Run pytests
poetry run pytest -vvvv --cov=jinjaturtle --cov-report=term-missing --disable-warnings
# Ensure we test the CLI like a human
for file in `ls -1 tests/samples/*`; do
poetry run jinjaturtle -r test $file -d test.yml -t test.j2
done