[test] properly close session stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 09 Apr 2010 12:23:39 +0200
branchstable
changeset 5197 98dc05495e3e
parent 5193 c9671feff5e2
child 5198 cf8292f80384
[test] properly close session
server/test/unittest_session.py
--- a/server/test/unittest_session.py	Fri Apr 09 11:16:00 2010 +0200
+++ b/server/test/unittest_session.py	Fri Apr 09 12:23:39 2010 +0200
@@ -37,6 +37,7 @@
     def test_dbapi_query(self):
         session = self.repo.internal_session()
         self.assertFalse(session.running_dbapi_query)
+        session.close()
 
 if __name__ == '__main__':
     unittest_main()