hooks/test/unittest_syncschema.py
changeset 9028 c88261b641a9
parent 8947 3bbd416b09ec
child 9402 2c48c091b6a2
equal deleted inserted replaced
9027:b6b96d61e055 9028:c88261b641a9
    28 
    28 
    29 def tearDownModule(*args):
    29 def tearDownModule(*args):
    30     del SchemaModificationHooksTC.schema_eids
    30     del SchemaModificationHooksTC.schema_eids
    31 
    31 
    32 class SchemaModificationHooksTC(CubicWebTC):
    32 class SchemaModificationHooksTC(CubicWebTC):
    33     reset_schema = True
       
    34 
    33 
    35     def setUp(self):
    34     def setUp(self):
    36         super(SchemaModificationHooksTC, self).setUp()
    35         super(SchemaModificationHooksTC, self).setUp()
    37         self.repo.set_schema(self.repo.deserialize_schema(), resetvreg=False)
    36         self.repo.set_schema(self.repo.deserialize_schema(), resetvreg=False)
    38         self.__class__.schema_eids = schema_eids_idx(self.repo.schema)
    37         self.__class__.schema_eids = schema_eids_idx(self.repo.schema)