hooks/test/unittest_syncschema.py
branchstable
changeset 6781 5062d86d6ffe
parent 6412 370357e68837
child 7078 bad26a22fe29
equal deleted inserted replaced
6780:92e4c07f86c0 6781:5062d86d6ffe
    22 from cubicweb import ValidationError
    22 from cubicweb import ValidationError
    23 from cubicweb.devtools.testlib import CubicWebTC
    23 from cubicweb.devtools.testlib import CubicWebTC
    24 from cubicweb.server.sqlutils import SQL_PREFIX
    24 from cubicweb.server.sqlutils import SQL_PREFIX
    25 from cubicweb.devtools.repotest import schema_eids_idx, restore_schema_eids_idx
    25 from cubicweb.devtools.repotest import schema_eids_idx, restore_schema_eids_idx
    26 
    26 
    27 def teardown_module(*args):
    27 def tearDownModule(*args):
    28     del SchemaModificationHooksTC.schema_eids
    28     del SchemaModificationHooksTC.schema_eids
    29 
    29 
    30 class SchemaModificationHooksTC(CubicWebTC):
    30 class SchemaModificationHooksTC(CubicWebTC):
    31     reset_schema = True
    31     reset_schema = True
    32 
    32