hooks/test/unittest_hooks.py
branchstable
changeset 6798 c3d5c0a215b7
parent 6796 e70ca9abfc51
child 6957 ffda12be2e9f
child 6965 343c79c3f04a
equal deleted inserted replaced
6797:90d687bd4c52 6798:c3d5c0a215b7
    18 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    19 """functional tests for core hooks
    19 """functional tests for core hooks
    20 
    20 
    21 note: most schemahooks.py hooks are actually tested in unittest_migrations.py
    21 note: most schemahooks.py hooks are actually tested in unittest_migrations.py
    22 """
    22 """
       
    23 from __future__ import with_statement
    23 
    24 
    24 from logilab.common.testlib import TestCase, unittest_main
    25 from logilab.common.testlib import TestCase, unittest_main
    25 
    26 
    26 from datetime import datetime
    27 from datetime import datetime
    27 
    28