forked from openlp/openlp
PEP Fixes
This commit is contained in:
parent
eee14a654a
commit
a3146d7a2c
@ -866,7 +866,6 @@ class BibleMediaItem(MediaManagerItem):
|
|||||||
list_widget_items.append(bible_verse)
|
list_widget_items.append(bible_verse)
|
||||||
return list_widget_items
|
return list_widget_items
|
||||||
|
|
||||||
|
|
||||||
def generate_slide_data(self, service_item, item=None, xml_version=False, remote=False,
|
def generate_slide_data(self, service_item, item=None, xml_version=False, remote=False,
|
||||||
context=ServiceItemContext.Service):
|
context=ServiceItemContext.Service):
|
||||||
"""
|
"""
|
||||||
|
@ -158,7 +158,6 @@ class TestMediaItem(TestCase, TestMixin):
|
|||||||
self.mocked_bible_2 = MagicMock(**{'get_books.return_value': self.book_list_2})
|
self.mocked_bible_2 = MagicMock(**{'get_books.return_value': self.book_list_2})
|
||||||
self.mocked_bible_2.name = 'Bible 2'
|
self.mocked_bible_2.name = 'Bible 2'
|
||||||
|
|
||||||
|
|
||||||
def test_media_item_instance(self):
|
def test_media_item_instance(self):
|
||||||
"""
|
"""
|
||||||
When creating an instance of C test that it is also an instance of
|
When creating an instance of C test that it is also an instance of
|
||||||
@ -700,7 +699,6 @@ class TestMediaItem(TestCase, TestMixin):
|
|||||||
self.media_item.list_view.clear.assert_called_once_with()
|
self.media_item.list_view.clear.assert_called_once_with()
|
||||||
self.media_item.search_edit.clear.assert_called_once_with()
|
self.media_item.search_edit.clear.assert_called_once_with()
|
||||||
|
|
||||||
|
|
||||||
def test_on_save_results_button_clicked(self):
|
def test_on_save_results_button_clicked(self):
|
||||||
"""
|
"""
|
||||||
Test that "on_save_results_button_clicked" saves the results.
|
Test that "on_save_results_button_clicked" saves the results.
|
||||||
|
Loading…
Reference in New Issue
Block a user