fixed test

This commit is contained in:
Andreas Preikschat 2013-07-17 16:32:29 +02:00
parent b04d0f42cc
commit 161a1db12d

View File

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