From ae785815c8a9df764bde191a2f61e68775cab480 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Wed, 22 Apr 2015 22:05:46 +0100 Subject: [PATCH] Fix test on windows. --- tests/functional/openlp_plugins/images/test_lib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/functional/openlp_plugins/images/test_lib.py b/tests/functional/openlp_plugins/images/test_lib.py index 8327ef78d..070b4b40d 100644 --- a/tests/functional/openlp_plugins/images/test_lib.py +++ b/tests/functional/openlp_plugins/images/test_lib.py @@ -248,6 +248,7 @@ class TestImageMediaItem(TestCase): self.media_item.list_view = MagicMock() mocked_row_item = MagicMock() mocked_row_item.data.return_value = test_image + mocked_row_item.text.return_value = '' self.media_item.list_view.selectedItems.return_value = [mocked_row_item] # WHEN: Calling on_delete_click