forked from openlp/openlp
Typo, remove annotations
This commit is contained in:
parent
a98ea19306
commit
922bbc3b57
@ -461,7 +461,7 @@ class SongMediaItem(MediaManagerItem):
|
|||||||
service_item.background_audio = [m.file_name for m in song.media_files]
|
service_item.background_audio = [m.file_name for m in song.media_files]
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def generate_footer(self, item: ServiceItem, song: Song):
|
def generate_footer(self, item, song):
|
||||||
"""
|
"""
|
||||||
Generates the song footer based on a song and adds details to a service item.
|
Generates the song footer based on a song and adds details to a service item.
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ class TestMediaItem(TestCase, TestMixin):
|
|||||||
"""
|
"""
|
||||||
Test build songs footer with basic song and a songbook
|
Test build songs footer with basic song and a songbook
|
||||||
"""
|
"""
|
||||||
# GIVEN: A Song and a Service Item and a configured CCLI license
|
# GIVEN: A Song and a Service Item
|
||||||
mock_song = MagicMock()
|
mock_song = MagicMock()
|
||||||
mock_song.title = 'My Song'
|
mock_song.title = 'My Song'
|
||||||
mock_song.copyright = 'My copyright'
|
mock_song.copyright = 'My copyright'
|
||||||
|
Loading…
Reference in New Issue
Block a user