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/views/helpers.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests/views/helpers.py') diff --git a/tests/views/helpers.py b/tests/views/helpers.py index 1fe1ed2..2da2ace 100644 --- a/tests/views/helpers.py +++ b/tests/views/helpers.py @@ -40,7 +40,9 @@ def mock_endpoint_form( form.target.data = target form.errors = errors or {} - monkeypatch.setattr(views_module.forms, "EndpointForm", Mock(return_value=form)) + monkeypatch.setattr( + views_module.forms, "WebmentionSubmissionForm", Mock(return_value=form) + ) return form @@ -126,7 +128,9 @@ def mock_admin_action_form( form = Mock() form.validate_on_submit.return_value = valid - monkeypatch.setattr(views_module.forms, "AdminActionForm", Mock(return_value=form)) + monkeypatch.setattr( + views_module.forms, "ConfirmActionForm", Mock(return_value=form) + ) return form -- cgit v1.3.1