forked from openlp/openlp
PEP8
This commit is contained in:
parent
3b7d5f53ba
commit
c9b47e8e6f
@ -157,7 +157,8 @@ class TestWorshipCenterProSongImport(TestCase):
|
||||
# GIVEN: A mocked out SongImport class, a mocked out pyodbc module, a mocked out translate method,
|
||||
# a mocked "manager" and a mocked out log_error method.
|
||||
with patch('openlp.plugins.songs.lib.songimport.worshipcenterproimport.SongImport'), \
|
||||
patch('openlp.plugins.songs.lib.songimport.worshipcenterproimport.pyodbc.connect') as mocked_pyodbc_connect, \
|
||||
patch('openlp.plugins.songs.lib.songimport.worshipcenterproimport.pyodbc.connect') \
|
||||
as mocked_pyodbc_connect, \
|
||||
patch('openlp.plugins.songs.lib.songimport.worshipcenterproimport.translate') as mocked_translate:
|
||||
mocked_manager = MagicMock()
|
||||
mocked_log_error = MagicMock()
|
||||
|
Loading…
Reference in New Issue
Block a user