Some bugs and minor tweaks.

This commit is contained in:
Raoul Snyman 2013-09-29 23:28:53 +02:00
parent 16c5ded747
commit 3503c54ce4
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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