--- a/devtools/apptest.py Mon Apr 06 12:37:45 2009 +0200
+++ b/devtools/apptest.py Tue Apr 07 09:30:23 2009 +0200
@@ -493,13 +493,10 @@
self._prepare()
self.session.set_pool()
self.maxeid = self.session.system_sql('SELECT MAX(eid) FROM entities').fetchone()[0]
- #self.maxeid = self.execute('Any MAX(X)')
- def tearDown(self, close=True):
+ def tearDown(self):
self.close_connections()
self.rollback()
self.session.unsafe_execute('DELETE Any X WHERE X eid > %(x)s', {'x': self.maxeid})
self.commit()
-# if close:
-# self.close()