Cover notifier.py error paths (TEST_MODE, HTTP error, connection error)

Brings app/notifier.py from 73% to 100% test coverage by exercising the
three notification functions' TEST_MODE early-return, non-204 response,
and requests exception branches — the exact paths a requests upgrade
regression would break silently.
This commit is contained in:
Djeex
2026-08-22 23:08:33 +02:00
parent 530aeba667
commit 7fb3663097
2 changed files with 86 additions and 1 deletions
+3 -1
View File
@@ -1,2 +1,4 @@
.venv
__pycache__/
__pycache__/
.coverage
.pytest_cache/