We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f05f40 commit d018e84Copy full SHA for d018e84
1 file changed
tests/unit/notifications/test_ntfy_adapter.py
@@ -79,5 +79,6 @@ async def test_send_handles_server_error_gracefully(self) -> None:
79
title="Test",
80
source="test",
81
)
82
- # Should not raise
83
- await sink.send(n)
+ # Adapter logs the error and re-raises for the dispatcher to track
+ with pytest.raises(Exception, match="500"):
84
+ await sink.send(n)
0 commit comments