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()