diff --git a/LTA/ltastorageoverview/test/test_ingesteventhandler.py b/LTA/ltastorageoverview/test/test_ingesteventhandler.py
index db61d8baca949bbec057fc9644a4c7bec6a97b87..7c60a8ba8ac1aff4c18c7f604a637a9e1a2f32c9 100755
--- a/LTA/ltastorageoverview/test/test_ingesteventhandler.py
+++ b/LTA/ltastorageoverview/test/test_ingesteventhandler.py
@@ -62,7 +62,7 @@ class TestIngestEventHandler(CommonLTAStorageDbTest):
             with self.assertRaises(LookupError) as context:
                 surl = 'srm://foo.bar:1234/fdjsalfja5h43535h3oiu/5u905u3f'
                 handler._schedule_srmurl_for_visit(surl)
-            self.assertTrue('Could not find site' in context.exception.message)
+            self.assertTrue('Could not find site' in str(context.exception))
 
     def test_02_mark_directory_for_a_visit(self):
         """ Test core method _mark_directory_for_a_visit for all known root dirs.
@@ -139,7 +139,7 @@ class TestIngestEventHandler(CommonLTAStorageDbTest):
                 with self.assertRaises(LookupError) as context:
                     surl = site['url'] + '/fdjsalfja5h43535h3oiu/5u905u3f'
                     handler._insert_missing_directory_tree_if_needed(surl)
-                self.assertTrue('Could not find parent root dir' in context.exception.message)
+                self.assertTrue('Could not find parent root dir' in str(context.exception))
 
     def test_05_schedule_srmurl_for_visit_for_root_dir(self):
         """ Test higher level method _schedule_srmurl_for_visit for all known root dirs.
@@ -216,7 +216,7 @@ class TestIngestEventHandler(CommonLTAStorageDbTest):
                 with self.assertRaises(LookupError) as context:
                     surl = site['url'] + '/fdjsalfja5h43535h3oiu/5u905u3f'
                     handler._schedule_srmurl_for_visit(surl)
-                self.assertTrue('Could not find parent root dir' in context.exception.message)
+                self.assertTrue('Could not find parent root dir' in str(context.exception))
 
     def test_08_integration_test_with_messagebus(self):
         """ Full blown integration test listening for notifications on the bus,