# HG changeset patch # User John Rouillard # Date 1714310371 14400 # Node ID ecf0368a05da6b15a47880d02c536bea4e162217 # Parent 6102ae4263903802439209ff24dfade2f0131b02 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. diff -r 6102ae426390 -r ecf0368a05da test/db_test_base.py --- a/test/db_test_base.py Sun Apr 28 09:17:54 2024 -0400 +++ b/test/db_test_base.py Sun Apr 28 09:19:31 2024 -0400 @@ -411,6 +411,7 @@ # test set & retrieve (this time for file contents) nid = self.db.file.create(content=ustr) + self.db.commit() self.assertEqual(self.db.file.get(nid, 'content'), ustr) self.assertEqual(self.db.file.get(nid, 'binary_content'), s2b(ustr))