summaryrefslogtreecommitdiff
path: root/test/suite/test_util05.py
diff options
context:
space:
mode:
authorDon Anderson <dda@ddanderson.com>2012-03-15 12:27:28 -0400
committerDon Anderson <dda@ddanderson.com>2012-03-15 12:27:28 -0400
commita8aa1359b06294a386a49648489a8ba9611548c5 (patch)
tree3c2c374fe9d1779c31d46f185e8c5bb686809764 /test/suite/test_util05.py
parent4421e9ecaa23de1c83074c73c645aeb47841ce3b (diff)
downloadmongo-a8aa1359b06294a386a49648489a8ba9611548c5.tar.gz
Modified tests that produce stderr in native code to wrap those calls
so that all error messages can be accounted for. We either use self.assertRaisesWithMessage() or wrap the call with self.expectedStderr or self.expectedStderrPattern
Diffstat (limited to 'test/suite/test_util05.py')
-rw-r--r--test/suite/test_util05.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/suite/test_util05.py b/test/suite/test_util05.py
index 39a0615d0de..b6571b9e903 100644
--- a/test/suite/test_util05.py
+++ b/test/suite/test_util05.py
@@ -140,9 +140,9 @@ class test_util05(wttest.WiredTigerTestCase, suite_subprocess):
# open_and_position closed the session/connection, reopen them now.
self.conn = self.setUpConnectionOpen(".")
self.session = self.setUpSessionOpen(self.conn)
- self.assertRaises(wiredtiger.WiredTigerError,
- lambda: self.session.verify(
- 'table:' + self.tablename, None))
+ self.assertRaisesWithMessage(wiredtiger.WiredTigerError,
+ lambda: self.session.verify('table:' + self.tablename, None),
+ "/read checksum error/")
def test_verify_process_75pct_null(self):
"""