From 161a1db12d4de21803700354b6dabe0597231801 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Wed, 17 Jul 2013 16:32:29 +0200 Subject: [PATCH] fixed test --- tests/functional/openlp_core_lib/test_image_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')