Commit 9d2c06af authored by Jérome Perrin's avatar Jérome Perrin

software/erp5/test: remove a leftover db.close() from debugging

This is not needed because we are using a closing context manager
parent 39697b4f
......@@ -82,7 +82,6 @@ class TestRepozo(ZEOTestCase, CrontabMixin):
with self.db() as db:
with db.transaction() as cnx:
cnx.root.state = "after backup"
db.close()
restore_script = self.computer_partition_root_path / "srv" / "runner-import-restore"
self.assertTrue(restore_script.exists())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment