server/test/unittest_querier.py
changeset 4766 162b2b127b15
parent 4758 0efdcf0fa4c7
child 4787 dc07678c4935
--- a/server/test/unittest_querier.py	Wed Mar 03 17:59:05 2010 +0100
+++ b/server/test/unittest_querier.py	Wed Mar 03 18:30:25 2010 +0100
@@ -48,6 +48,11 @@
 
 repo, cnx = init_test_database()
 
+def teardown_module(*args):
+    global repo, cnx
+    cnx.close()
+    repo.shutdown()
+    del repo, cnx
 
 
 class UtilsTC(BaseQuerierTC):