diff --git a/tests/functional/openlp_core_lib/test_image_manager.py b/tests/functional/openlp_core_lib/test_image_manager.py index 17facbc16..d5bcca2e3 100644 --- a/tests/functional/openlp_core_lib/test_image_manager.py +++ b/tests/functional/openlp_core_lib/test_image_manager.py @@ -53,4 +53,4 @@ class TestImageManager(TestCase): # THEN a KeyError is thrown with self.assertRaises(KeyError) as context: self.image_manager.get_image(TEST_PATH, u'church1.jpg') - self.assertNotEquals(context.exception[0], u'', u'KeyError exception should have been thrown for missing image') + self.assertNotEquals(context.exception, u'', u'KeyError exception should have been thrown for missing image')