diff --git a/tests/functional/openlp_core_lib/test_image_manager.py b/tests/functional/openlp_core_lib/test_image_manager.py index 81098eb89..17facbc16 100644 --- a/tests/functional/openlp_core_lib/test_image_manager.py +++ b/tests/functional/openlp_core_lib/test_image_manager.py @@ -46,8 +46,8 @@ class TestImageManager(TestCase): # WHEN: The image bytes are requested. byte_array = self.image_manager.get_image_bytes(TEST_PATH, u'church.jpg') - # THEN: Type should be a byte array. - self.assertEqual(isinstance(byte_array, QtCore.QByteArray), True, u'The returned object should be a QByteArray') + # THEN: Type should be a str. + self.assertEqual(isinstance(byte_array, str), True, u'The returned object should be a str') # WHEN the image is retrieved has not been loaded # THEN a KeyError is thrown