From 78aef62485415fd8b2bf3901d194f5f5de258d5c Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sun, 19 Mar 2023 20:53:21 +0100 Subject: [PATCH] remove debug --- changedetectionio/tests/test_jsonpath_jq_selector.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/changedetectionio/tests/test_jsonpath_jq_selector.py b/changedetectionio/tests/test_jsonpath_jq_selector.py index 7beadcd13..2a8fd52f8 100644 --- a/changedetectionio/tests/test_jsonpath_jq_selector.py +++ b/changedetectionio/tests/test_jsonpath_jq_selector.py @@ -199,9 +199,7 @@ def test_check_json_without_filter(client, live_server): # Should still see '"html": ""' assert b'"html": "<b>"' in res.data - with open('/tmp/foo.html', 'wb') as f: - f.write(res.data) -# assert res.data.count(b'{') >= 2 + assert res.data.count(b'{') >= 2 res = client.get(url_for("form_delete", uuid="all"), follow_redirects=True) assert b'Deleted' in res.data