forked from openlp/openlp
Revert PEP8 clean ups as they were already done in a different branch
This commit is contained in:
parent
85fc53954d
commit
ef5b1cf4ac
@ -40,7 +40,6 @@ class TestCommonFunctions(TestCase):
|
|||||||
"""
|
"""
|
||||||
A test suite to test out various functions in the openlp.core.common module.
|
A test suite to test out various functions in the openlp.core.common module.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def de_hump_conversion_test(self):
|
def de_hump_conversion_test(self):
|
||||||
"""
|
"""
|
||||||
Test the de_hump function with a class name
|
Test the de_hump function with a class name
|
||||||
@ -80,5 +79,5 @@ class TestCommonFunctions(TestCase):
|
|||||||
trace_error_handler(mocked_logger)
|
trace_error_handler(mocked_logger)
|
||||||
|
|
||||||
# THEN: The mocked_logger.error() method should have been called with the correct parameters
|
# THEN: The mocked_logger.error() method should have been called with the correct parameters
|
||||||
mocked_logger.error.assert_called_with(
|
mocked_logger.error.assert_called_with('OpenLP Error trace\n File openlp.fake at line 56 \n\t called trace_error_handler_test')
|
||||||
'OpenLP Error trace\n File openlp.fake at line 56 \n\t called trace_error_handler_test')
|
|
||||||
|
@ -129,6 +129,7 @@ class TestLib(TestCase):
|
|||||||
# THEN: The result should be a tuple of songs..
|
# THEN: The result should be a tuple of songs..
|
||||||
assert result == (self.song1, self.song2), 'The result should be the tuble of songs'
|
assert result == (self.song1, self.song2), 'The result should be the tuble of songs'
|
||||||
|
|
||||||
|
|
||||||
def songs_probably_equal_different_song_test(self):
|
def songs_probably_equal_different_song_test(self):
|
||||||
"""
|
"""
|
||||||
Test the songs_probably_equal function with two different songs.
|
Test the songs_probably_equal function with two different songs.
|
||||||
|
Loading…
Reference in New Issue
Block a user