summaryrefslogtreecommitdiff
path: root/test/suite/test_nsnap04.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/test_nsnap04.py')
-rw-r--r--test/suite/test_nsnap04.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/suite/test_nsnap04.py b/test/suite/test_nsnap04.py
index f9ef26b5600..60901dd2ee3 100644
--- a/test/suite/test_nsnap04.py
+++ b/test/suite/test_nsnap04.py
@@ -29,9 +29,9 @@
# test_nsnap04.py
# Named snapshots: Create snapshot from running transaction
-from suite_subprocess import suite_subprocess
-from helper import simple_populate
import wiredtiger, wttest
+from suite_subprocess import suite_subprocess
+from wtdataset import SimpleDataSet
class test_nsnap04(wttest.WiredTigerTestCase, suite_subprocess):
tablename = 'test_nsnap04'
@@ -52,7 +52,7 @@ class test_nsnap04(wttest.WiredTigerTestCase, suite_subprocess):
def test_named_snapshots(self):
# Populate a table
end = start = 0
- simple_populate(self, self.uri, 'key_format=i', 0)
+ SimpleDataSet(self, self.uri, 0, key_format='i').populate()
snapshots = []
c = self.session.open_cursor(self.uri)