forked from openlp/openlp
fixed test
This commit is contained in:
parent
a393302a07
commit
186ca920da
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user