From 509d93b2976e353d29441a7a7b7e78ca466dc4fd Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 15 Nov 2026 20:42:20 +0100 Subject: refactor(core)!: standardize application terminology Rename configuration keys, task helpers, forms, network utilities, and view endpoints to make their responsibilities and domains more explicit. Align source-management routes and templates with the new terminology and rename the target-matching module and related task abstractions consistently. BREAKING CHANGE: configuration keys have been renamed and sent-source routes move from `/sent` to `/sources`, with corresponding blueprint endpoint changes. --- tests/tasks/test_consumer.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/tasks/test_consumer.py') diff --git a/tests/tasks/test_consumer.py b/tests/tasks/test_consumer.py index 1563cdd..78f1b6b 100644 --- a/tests/tasks/test_consumer.py +++ b/tests/tasks/test_consumer.py @@ -18,9 +18,9 @@ def test_consumer_registers_scanner_digest_reaper_and_retention( ) -> None: import webmentions_ssg - app.config["SCANNER_SCHEDULE"] = "*/15 * * * *" - app.config["NOTIFICATION_SCHEDULE"] = "0 9 * * *" - app.config["VERIFICATION_REAPER_SCHEDULE"] = "*/3 * * * *" + app.config["SOURCE_SCAN_SCHEDULE"] = "*/15 * * * *" + app.config["DIGEST_SCHEDULE"] = "0 9 * * *" + app.config["VERIFICATION_RECOVERY_SCHEDULE"] = "*/3 * * * *" app.config["RECEIVED_RETENTION_SCHEDULE"] = "0 4 * * *" registered_tasks: list[object] = [] @@ -43,7 +43,7 @@ def test_consumer_registers_scanner_digest_reaper_and_retention( assert periodic_task.call_count == 4 assert registered_tasks == [ scanner.scan_sources, - receiver.recover_stale_webmentions, + receiver.recover_stale_verifications, notifications.send_webmention_digest, retention.purge_old_received_webmentions, ] -- cgit v1.3.1