From 5f1003f91cd59f62622d379efe9be5fb19a1ed3e Mon Sep 17 00:00:00 2001 From: Chris Warrick Date: Sun, 28 Jan 2024 22:48:03 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20#3753=20=E2=80=94=20make=20import=5Fwordp?= =?UTF-8?q?ress=20tests=20pass=20with=20pytest=208.0.0=20(#3754)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_command_import_wordpress.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_command_import_wordpress.py b/tests/test_command_import_wordpress.py index c8bd19f208..e58ad13bff 100644 --- a/tests/test_command_import_wordpress.py +++ b/tests/test_command_import_wordpress.py @@ -59,9 +59,8 @@ def test_importing_posts_and_attachments(module, import_command, import_filename import_command.context = import_command.populate_context(channel) # Ensuring clean results - # assert not import_command.url_map - assert not module.links import_command.url_map = {} + module.links.clear() write_metadata = mock.MagicMock() write_content = mock.MagicMock()