Refactor handlers to be in their own classes for easier maintainability
This commit is contained in:
parent
d1ca60b779
commit
85f21e739d
19 changed files with 1826 additions and 1463 deletions
8
tests.sh
8
tests.sh
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue