diff options
Diffstat (limited to '')
| -rw-r--r-- | tests/tasks/test_target_matching.py (renamed from tests/tasks/test_mentions.py) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tasks/test_mentions.py b/tests/tasks/test_target_matching.py index a5da56c..31523af 100644 --- a/tests/tasks/test_mentions.py +++ b/tests/tasks/test_target_matching.py @@ -15,9 +15,9 @@ TARGET_URL = "https://dennisfink.me/blog/example/" @pytest.fixture def receiver(app: Flask) -> ModuleType: _ = app - from webmentions_ssg.tasks import mentions + from webmentions_ssg.tasks import target_matching - return mentions + return target_matching @pytest.mark.parametrize( @@ -162,7 +162,7 @@ def test_text_mentions_target( assert receiver.text_mentions_target(body, target_url) is expected -@patch("webmentions_ssg.tasks.mentions.BeautifulSoup") +@patch("webmentions_ssg.tasks.target_matching.BeautifulSoup") def test_html_mentions_target_ignores_non_string_attribute( beautiful_soup: Mock, receiver: ModuleType ) -> None: |
