From a3b3497f7ca4e79e81f0852828b1313c093fa328 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sun, 26 Oct 2025 11:30:04 +0100 Subject: [PATCH] Fix test --- changedetectionio/tests/test_source.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/changedetectionio/tests/test_source.py b/changedetectionio/tests/test_source.py index 4393358fd..f6ea313db 100644 --- a/changedetectionio/tests/test_source.py +++ b/changedetectionio/tests/test_source.py @@ -47,12 +47,8 @@ def test_check_basic_change_detection_functionality_source(client, live_server, ) # With diff-match-patch, HTML tags are properly tokenized and excluded from diff spans # Only "modified" is shown as added, while and tags remain unchanged - assert b'<head><title>' in res.data - - assert b'title="Added"' in res.data - assert b'>modified<' in res.data - assert b'head title</title></head>' in res.data - + assert b'aria-label="Changed into" title="Changed into">' in res.data + assert b'<title>modified head title' # `subtractive_selectors` should still work in `source:` type requests def test_check_ignore_elements(client, live_server, measure_memory_usage):