fix(test/endpoints): add pytest coverage for all Microdot routes

This commit is contained in:
pi
2026-03-26 00:39:41 +13:00
parent 63235c7822
commit fed312a397
9 changed files with 996 additions and 123 deletions

View File

@@ -15,6 +15,7 @@ adafruit-ampy = "*"
microdot = "*"
[dev-packages]
pytest = "*"
[requires]
python_version = "3.12"
@@ -25,3 +26,4 @@ watch = "python -m watchfiles 'python tests/web.py' src tests"
install = "pipenv install"
run = "sh -c 'cd src && python main.py'"
dev = "watchfiles \"sh -c 'cd src && python main.py'\" src"
help-pdf = "sh scripts/build_help_pdf.sh"