Skip to content

Commit

Permalink
Fixed tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Aug 18, 2016
1 parent c4636cb commit 6326b99
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_command_import_wordpress.py
Expand Up @@ -171,6 +171,8 @@ def test_create_import_work_without_argument(self):
def test_populate_context(self):
channel = self.import_command.get_channel_from_file(
self.import_filename)
self.import_command.html2text = False
self.import_command.transform_to_markdown = False
self.import_command.transform_to_html = False
self.import_command.use_wordpress_compiler = False
context = self.import_command.populate_context(channel)
Expand All @@ -195,6 +197,8 @@ def test_importing_posts_and_attachments(self):
self.import_command.no_downloads = False
self.import_command.export_categories_as_categories = False
self.import_command.export_comments = False
self.import_command.html2text = False
self.import_command.transform_to_markdown = False
self.import_command.transform_to_html = False
self.import_command.use_wordpress_compiler = False
self.import_command.tag_saniziting_strategy = 'first'
Expand Down Expand Up @@ -315,6 +319,8 @@ def test_transforming_content(self):
transform_caption = mock.MagicMock()
transform_newlines = mock.MagicMock()

self.import_command.html2text = False
self.import_command.transform_to_markdown = False
self.import_command.transform_to_html = False
self.import_command.use_wordpress_compiler = False

Expand Down

0 comments on commit 6326b99

Please sign in to comment.