From a29085fa183e0116388119a4fe51cb5009b74197 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sat, 12 Feb 2022 22:13:33 +0100 Subject: [PATCH] check preview page shows what we expect --- changedetectionio/tests/test_backend.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/changedetectionio/tests/test_backend.py b/changedetectionio/tests/test_backend.py index 29bdbaf0..bed1d5cb 100644 --- a/changedetectionio/tests/test_backend.py +++ b/changedetectionio/tests/test_backend.py @@ -105,6 +105,8 @@ def test_check_basic_change_detection_functionality(client, live_server): res = client.get(url_for("preview_page", uuid="first")) assert b'' not in res.data + res = client.get(url_for("preview_page", uuid="first")) + assert b'Some initial text' in res.data # # Cleanup everything