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:
+3
-1
@@ -1,2 +1,4 @@
|
||||
.venv
|
||||
__pycache__/
|
||||
__pycache__/
|
||||
.coverage
|
||||
.pytest_cache/
|
||||
Reference in New Issue
Block a user