forked from openlp/openlp
Some bugs and minor tweaks.
This commit is contained in:
parent
16c5ded747
commit
3503c54ce4
@ -70,7 +70,7 @@ class TestLib(TestCase):
|
||||
false_result = str_to_bool(false_boolean)
|
||||
|
||||
# THEN: We should get back a True bool
|
||||
self.assertIsinstance(false_result, bool, 'The result should be a boolean')
|
||||
self.assertIsInstance(false_result, bool, 'The result should be a boolean')
|
||||
self.assertFalse(false_result, 'The result should be True')
|
||||
|
||||
def str_to_bool_with_integer_test(self):
|
||||
|
@ -81,7 +81,7 @@ class TestServiceItem(TestCase):
|
||||
service_item.add_icon = MagicMock()
|
||||
|
||||
# WHEN: We add a custom from a saved service
|
||||
line = convert_file_service_item('serviceitem_custom_1.osj')
|
||||
line = convert_file_service_item(TEST_PATH, 'serviceitem_custom_1.osj')
|
||||
service_item.set_from_service(line)
|
||||
|
||||
# THEN: We should get back a valid service item
|
||||
|
Loading…
Reference in New Issue
Block a user