From 315e48236f6d2ffb0531b0e79da197a6351118f2 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 7 Nov 2025 11:25:04 +0100 Subject: [PATCH] Adding more tests --- changedetectionio/tests/test_notification.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/changedetectionio/tests/test_notification.py b/changedetectionio/tests/test_notification.py index d4b9fa646..7f5ea6785 100644 --- a/changedetectionio/tests/test_notification.py +++ b/changedetectionio/tests/test_notification.py @@ -306,13 +306,14 @@ def test_notification_urls_jinja2_apprise_integration(client, live_server, measu "application-notification_format": default_notification_format, "application-notification_urls": test_notification_url, # https://github.com/caronc/apprise/wiki/Notify_Custom_JSON#get-parameter-manipulation - "application-notification_title": "New ChangeDetection.io Notification - {{ watch_url }} ", + "application-notification_title": "New ChangeDetection.io Notification - {{ watch_url }} {{diff|truncate(200)}} ", }, follow_redirects=True ) assert b'Settings updated' in res.data assert '网站监测'.encode() in res.data assert b'{{diff|truncate(1500)}}' in res.data + assert b'{{diff|truncate(200)}}' in res.data