Cover notifier.py error paths (TEST_MODE, HTTP error, connection error)
CI / build-and-scan (pull_request) Successful in 40s

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.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
Djeex
2026-08-22 23:08:33 +02:00
co-authored by Claude Sonnet 5
parent b3f2ea7be2
commit 3cf97c3c5c
2 changed files with 86 additions and 1 deletions
+3 -1
View File
@@ -1,2 +1,4 @@
.venv
__pycache__/
__pycache__/
.coverage
.pytest_cache/