From 91d8600b19c878460617b3ea32e3ee55399732e8 Mon Sep 17 00:00:00 2001 From: bwees Date: Tue, 12 Jul 2022 20:53:22 -0400 Subject: [PATCH] fixed test naming --- changedetectionio/tests/test_diff_filter_no_add.py | 4 ++-- changedetectionio/tests/test_diff_filter_no_del.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/changedetectionio/tests/test_diff_filter_no_add.py b/changedetectionio/tests/test_diff_filter_no_add.py index 43367f3c..4f6c86ed 100644 --- a/changedetectionio/tests/test_diff_filter_no_add.py +++ b/changedetectionio/tests/test_diff_filter_no_add.py @@ -31,7 +31,7 @@ def set_add_response(): with open("test-datastore/endpoint-content.txt", "w") as f: f.write(test_return_data) -def test_diff_filtering_functionality(client, live_server): +def test_diff_filtering_no_add(client, live_server): live_server_setup(live_server) sleep_time_for_fetch_thread = 3 @@ -56,7 +56,7 @@ def test_diff_filtering_functionality(client, live_server): res = client.post( url_for("edit_page", uuid="first"), data={"trigger_on_add": "y", - "trigger_on_delete": "n", + "trigger_on_del": "n", "url": test_url, "fetch_backend": "html_requests"}, follow_redirects=True diff --git a/changedetectionio/tests/test_diff_filter_no_del.py b/changedetectionio/tests/test_diff_filter_no_del.py index 4f6455b4..a5fd5275 100644 --- a/changedetectionio/tests/test_diff_filter_no_del.py +++ b/changedetectionio/tests/test_diff_filter_no_del.py @@ -29,7 +29,7 @@ def set_delete_response(): with open("test-datastore/endpoint-content.txt", "w") as f: f.write(test_return_data) -def test_diff_filtering_functionality(client, live_server): +def test_diff_filtering_no_del(client, live_server): live_server_setup(live_server) sleep_time_for_fetch_thread = 3 @@ -54,7 +54,7 @@ def test_diff_filtering_functionality(client, live_server): res = client.post( url_for("edit_page", uuid="first"), data={"trigger_on_add": "y", - "trigger_on_delete": "n", + "trigger_on_del": "n", "url": test_url, "fetch_backend": "html_requests"}, follow_redirects=True