Skip to content
Permalink
Browse files
Fixed test.
  • Loading branch information
felixfontein committed Jul 12, 2015
1 parent 1d60bf6 commit 439b310e09e6fdf616b9c572ac0c36144bc23c94
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/test_command_import_wordpress.py
@@ -325,7 +325,7 @@ def test_transforming_content(self):
with mock.patch('nikola.plugins.command.import_wordpress.CommandImportWordpress.transform_code', transform_code):
with mock.patch('nikola.plugins.command.import_wordpress.CommandImportWordpress.transform_caption', transform_caption):
with mock.patch('nikola.plugins.command.import_wordpress.CommandImportWordpress.transform_multiple_newlines', transform_newlines):
self.import_command.transform_content("random content", "wp")
self.import_command.transform_content("random content", "wp", None)

self.assertTrue(transform_code.called)
self.assertTrue(transform_caption.called)

0 comments on commit 439b310

Please sign in to comment.