From 74428372c30e6a5d1fcf196d5a023f2e3e58efa0 Mon Sep 17 00:00:00 2001 From: Brandon Wees Date: Thu, 27 Oct 2022 11:57:55 -0400 Subject: [PATCH 1/3] Update changedetectionio/tests/test_diff_filter_only_deletions.py Co-authored-by: dgtlmoon --- changedetectionio/tests/test_diff_filter_only_deletions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/changedetectionio/tests/test_diff_filter_only_deletions.py b/changedetectionio/tests/test_diff_filter_only_deletions.py index 3bdcb005..f53727d5 100644 --- a/changedetectionio/tests/test_diff_filter_only_deletions.py +++ b/changedetectionio/tests/test_diff_filter_only_deletions.py @@ -58,7 +58,6 @@ def test_diff_filtering_no_add(client, live_server): time.sleep(sleep_time_for_fetch_thread) # Trigger a check - client.get(url_for("form_watch_checknow"), follow_redirects=True) # Give the thread time to pick it up time.sleep(sleep_time_for_fetch_thread) From bd79c5decdcb83be8a77beee968a96899d814ec4 Mon Sep 17 00:00:00 2001 From: Brandon Wees Date: Thu, 27 Oct 2022 12:03:20 -0400 Subject: [PATCH 2/3] Update changedetectionio/tests/test_diff_filter_changes_as_add_delete.py Co-authored-by: dgtlmoon --- .../tests/test_diff_filter_changes_as_add_delete.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/tests/test_diff_filter_changes_as_add_delete.py b/changedetectionio/tests/test_diff_filter_changes_as_add_delete.py index 4dc7af85..27536181 100644 --- a/changedetectionio/tests/test_diff_filter_changes_as_add_delete.py +++ b/changedetectionio/tests/test_diff_filter_changes_as_add_delete.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 - ++ @NOTE: THIS RELIES ON SOME MIDDLEWARE TO MAKE CHECKBOXES WORK WITH WTFORMS UNDER TEST CONDITION, see changedetectionio/tests/util.py import time from flask import url_for from .util import live_server_setup From ea2fcee4add670a5bc7dc762205ab75b4a36d3f2 Mon Sep 17 00:00:00 2001 From: Brandon Wees Date: Thu, 27 Oct 2022 12:05:57 -0400 Subject: [PATCH 3/3] fix syntax error --- .../tests/test_diff_filter_changes_as_add_delete.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/tests/test_diff_filter_changes_as_add_delete.py b/changedetectionio/tests/test_diff_filter_changes_as_add_delete.py index 27536181..83747f33 100644 --- a/changedetectionio/tests/test_diff_filter_changes_as_add_delete.py +++ b/changedetectionio/tests/test_diff_filter_changes_as_add_delete.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 -+ @NOTE: THIS RELIES ON SOME MIDDLEWARE TO MAKE CHECKBOXES WORK WITH WTFORMS UNDER TEST CONDITION, see changedetectionio/tests/util.py +# @NOTE: THIS RELIES ON SOME MIDDLEWARE TO MAKE CHECKBOXES WORK WITH WTFORMS UNDER TEST CONDITION, see changedetectionio/tests/util.py import time from flask import url_for from .util import live_server_setup