forked from openlp/openlp
Fix test on windows.
This commit is contained in:
parent
cbeece7375
commit
ae785815c8
@ -248,6 +248,7 @@ class TestImageMediaItem(TestCase):
|
|||||||
self.media_item.list_view = MagicMock()
|
self.media_item.list_view = MagicMock()
|
||||||
mocked_row_item = MagicMock()
|
mocked_row_item = MagicMock()
|
||||||
mocked_row_item.data.return_value = test_image
|
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]
|
self.media_item.list_view.selectedItems.return_value = [mocked_row_item]
|
||||||
|
|
||||||
# WHEN: Calling on_delete_click
|
# WHEN: Calling on_delete_click
|
||||||
|
Loading…
Reference in New Issue
Block a user