Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #3753 — make import_wordpress tests pass with pytest 8.0.0 #3754

Merged
merged 1 commit into from
Jan 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tests/test_command_import_wordpress.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Loading