summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2013-04-09 22:10:47 -0400
committerKeith Bostic <keith@wiredtiger.com>2013-04-09 22:10:47 -0400
commit5fb413ed5ab82aefaae1d52d93bb8e48a6937c94 (patch)
tree344e2f129f72d50515d4df9e08fb3c615d5ed0ba /test
parent89b23edbdcdb3b28632ec78f12fe74a4040c7931 (diff)
downloadmongo-5fb413ed5ab82aefaae1d52d93bb8e48a6937c94.tar.gz
I changed an error message, update the test suite to match.
Diffstat (limited to 'test')
-rw-r--r--test/suite/test_base01.py2
-rw-r--r--test/suite/test_config04.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/suite/test_base01.py b/test/suite/test_base01.py
index 3f8fb389a8f..d7e96a6ca8b 100644
--- a/test/suite/test_base01.py
+++ b/test/suite/test_base01.py
@@ -53,7 +53,7 @@ class test_base01(wttest.WiredTigerTestCase):
def test_error(self):
gotException = False
- expectMessage = "session.create: Unknown configuration key found: " + \
+ expectMessage = "session.create: unknown configuration key: " + \
"'expect_this_error': Invalid argument\n"
with self.expectedStderr(expectMessage):
try:
diff --git a/test/suite/test_config04.py b/test/suite/test_config04.py
index 72841af4c5b..cbd8a8bfbc2 100644
--- a/test/suite/test_config04.py
+++ b/test/suite/test_config04.py
@@ -87,10 +87,10 @@ class test_config04(wttest.WiredTigerTestCase):
cursor.close()
def test_bad_config(self):
+ msg = '/unknown configuration key/'
self.assertRaisesWithMessage(wiredtiger.WiredTigerError,
lambda: wiredtiger.wiredtiger_open('.', 'not_valid,another_bad=10'),
- "wiredtiger_open: Unknown configuration key"
- " found: 'not_valid': Invalid argument\n")
+ msg)
def test_cache_size_number(self):
# Use a number without multipliers