Fix some errors on windows

This commit is contained in:
Tomas Groth 2016-11-29 14:06:54 +01:00
parent 20ab44be0f
commit 595fd90d45
2 changed files with 2 additions and 1 deletions

View File

@ -270,6 +270,7 @@ class TestMainDisplay(TestCase, TestMixin):
service_item = MagicMock()
service_item.theme_data = MagicMock()
service_item.theme_data.background_type = 'video'
service_item.theme_data.theme_name = 'name'
mocked_plugin = MagicMock()
display.plugin_manager = PluginManager()
display.plugin_manager.plugins = [mocked_plugin]

View File

@ -137,7 +137,7 @@ class TestPowerpointDocument(TestCase, TestMixin):
instance.goto_slide(42)
# THEN: mocked_critical_error_message_box should have been called
mocked_critical_error_message_box.assert_called_with('Error', 'An error occurred in the Powerpoint '
mocked_critical_error_message_box.assert_called_with('Error', 'An error occurred in the PowerPoint '
'integration and the presentation will be stopped.'
' Restart the presentation if you wish to '
'present it.')