summaryrefslogtreecommitdiff
path: root/test/suite/test_config04.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/test_config04.py')
-rw-r--r--test/suite/test_config04.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/suite/test_config04.py b/test/suite/test_config04.py
index ceb2da41305..31deced73d0 100644
--- a/test/suite/test_config04.py
+++ b/test/suite/test_config04.py
@@ -58,9 +58,7 @@ class test_config04(wttest.WiredTigerTestCase):
cursor = self.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)
i = 0
cursor.reset()
for key, value in cursor: