From edd64fb1dd3c7034bcad39ad26f142c98e6f697f Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 8 Oct 2025 19:15:25 +0200 Subject: [PATCH] Remove debug :-) --- changedetectionio/tests/test_backend.py | 3 +-- changedetectionio/tests/test_group.py | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/changedetectionio/tests/test_backend.py b/changedetectionio/tests/test_backend.py index 8a82b5a15..7d0a311a4 100644 --- a/changedetectionio/tests/test_backend.py +++ b/changedetectionio/tests/test_backend.py @@ -273,8 +273,7 @@ got it\r\n url_for("ui.ui_views.preview_page", uuid="first"), follow_redirects=True ) - with open('/tmp/fuck.html', 'wb') as f: - f.write(res.data) + assert b"some random text that should be split by line\n" in res.data #### diff --git a/changedetectionio/tests/test_group.py b/changedetectionio/tests/test_group.py index 5e2596c54..e63639a9d 100644 --- a/changedetectionio/tests/test_group.py +++ b/changedetectionio/tests/test_group.py @@ -264,8 +264,6 @@ def test_limit_tag_ui(client, live_server, measure_memory_usage): client.get(url_for('ui.mark_all_viewed', tag=tag_uuid), follow_redirects=True) wait_for_all_checks(client) - with open('/tmp/fuck.html', 'wb') as f: - f.write(res.data) # Should be only 1 unviewed res = client.get(url_for("watchlist.index")) assert res.data.count(b' unviewed ') == 1