server/test/unittest_hooks.py
changeset 2591 287e43c6ed81
parent 2456 aa25d6b244c8
child 2608 21856eda34f6
equal deleted inserted replaced
2590:45d5f2d73561 2591:287e43c6ed81
   244             self.assertIsInstance(ex.entity, int)
   244             self.assertIsInstance(ex.entity, int)
   245             self.assertEquals(ex.errors, {'login': 'the value "admin" is already used, use another one'})
   245             self.assertEquals(ex.errors, {'login': 'the value "admin" is already used, use another one'})
   246 
   246 
   247 
   247 
   248 class SchemaModificationHooksTC(RepositoryBasedTC):
   248 class SchemaModificationHooksTC(RepositoryBasedTC):
   249     #copy_schema = True
       
   250 
   249 
   251     def setUp(self):
   250     def setUp(self):
   252         if not hasattr(self, '_repo'):
   251         if not hasattr(self, '_repo'):
   253             # first initialization
   252             # first initialization
   254             repo = self.repo # set by the RepositoryBasedTC metaclass
   253             repo = self.repo # set by the RepositoryBasedTC metaclass