server/test/unittest_migractions.py
changeset 4774 89a7555020ba
parent 4763 81b0df087375
child 5174 78438ad513ca
child 5421 8167de96c523
equal deleted inserted replaced
4773:6ab9ca63531f 4774:89a7555020ba
    12 from cubicweb.devtools.testlib import CubicWebTC
    12 from cubicweb.devtools.testlib import CubicWebTC
    13 from cubicweb.schema import CubicWebSchemaLoader
    13 from cubicweb.schema import CubicWebSchemaLoader
    14 from cubicweb.server.sqlutils import SQL_PREFIX
    14 from cubicweb.server.sqlutils import SQL_PREFIX
    15 from cubicweb.server.migractions import *
    15 from cubicweb.server.migractions import *
    16 
    16 
       
    17 migrschema = None
       
    18 def teardown_module(*args):
       
    19     global migrschema
       
    20     del migrschema
       
    21     del MigrationCommandsTC.origschema
    17 
    22 
    18 class MigrationCommandsTC(CubicWebTC):
    23 class MigrationCommandsTC(CubicWebTC):
    19 
    24 
    20     @classmethod
    25     @classmethod
    21     def init_config(cls, config):
    26     def init_config(cls, config):