fix: add coverage configuration and test infrastructure for push and utils modules

Add coverage tooling to CI workflow, Makefile, and pyproject.toml dependencies.
Introduce new test suites for push notification helpers (base64 encoding, HKDF,
authorization JWT) and utility functions (safe_next, strip_html, mention extraction,
badge/xp awarding, milestone checks) with a session-scoped local_db fixture.
This commit is contained in:
2026-06-05 18:33:35 +00:00
parent f05b6a4faf
commit 1eeb789e9c
7 changed files with 153 additions and 4 deletions
+5
View File
@@ -15,3 +15,8 @@ devplacepy/static/uploads/*.jpg
devplacepy/static/uploads/*.jpeg
devplacepy/static/uploads/*.gif
devplacepy/static/uploads/*.webp
# coverage
.coverage
.coverage.*
htmlcov/