summaryrefslogtreecommitdiff
path: root/test/suite/test_config05.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/test_config05.py')
-rw-r--r--test/suite/test_config05.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/suite/test_config05.py b/test/suite/test_config05.py
index c8c8c79f192..8687552eefe 100644
--- a/test/suite/test_config05.py
+++ b/test/suite/test_config05.py
@@ -58,9 +58,7 @@ class test_config05(wttest.WiredTigerTestCase):
session.create("table:" + self.table_name1, create_args)
cursor = session.open_cursor('table:' + self.table_name1, None, None)
for i in range(0, self.nentries):
- cursor.set_key(str(1000000 + i))
- cursor.set_value('value' + str(i))
- cursor.insert()
+ cursor[str(1000000 + i)] = 'value' + str(i)
cursor.close()
def verify_entries(self, session):