server/test/unittest_migractions.py
changeset 4774 89a7555020ba
parent 4763 81b0df087375
child 5174 78438ad513ca
child 5421 8167de96c523
--- a/server/test/unittest_migractions.py	Wed Mar 03 18:56:37 2010 +0100
+++ b/server/test/unittest_migractions.py	Wed Mar 03 18:57:41 2010 +0100
@@ -14,6 +14,11 @@
 from cubicweb.server.sqlutils import SQL_PREFIX
 from cubicweb.server.migractions import *
 
+migrschema = None
+def teardown_module(*args):
+    global migrschema
+    del migrschema
+    del MigrationCommandsTC.origschema
 
 class MigrationCommandsTC(CubicWebTC):