Skip to content

Commit 43bdd38

Browse files
committed
issue2551334 - get test suite running under windows
Add a commit() to finish a transaction in test suite so close() under windows can close filehandles to the database.
1 parent ad7348e commit 43bdd38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/db_test_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ def testStringUnicode(self):
411411

412412
# test set & retrieve (this time for file contents)
413413
nid = self.db.file.create(content=ustr)
414+
self.db.commit()
414415
self.assertEqual(self.db.file.get(nid, 'content'), ustr)
415416
self.assertEqual(self.db.file.get(nid, 'binary_content'), s2b(ustr))
416417

0 commit comments

Comments
 (0)