Skip to content

Commit

Permalink
Fixed test.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Jul 12, 2015
1 parent 1d60bf6 commit 439b310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_command_import_wordpress.py
Expand Up @@ -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)
Expand Down

0 comments on commit 439b310

Please sign in to comment.