Skip to content

Commit

Permalink
Fix #3753 — make import_wordpress tests pass with pytest 8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwpolska committed Jan 28, 2024
1 parent c0362ef commit 8da41e0
Showing 1 changed file with 1 addition and 2 deletions.
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

0 comments on commit 8da41e0

Please sign in to comment.