hooks/test/unittest_hooks.py
changeset 8694 d901c36bcfce
parent 8594 001159e2e4f3
child 9361 0542a85fe667
equal deleted inserted replaced
8693:a6ca96ec8693 8694:d901c36bcfce
    19 """functional tests for core hooks
    19 """functional tests for core hooks
    20 
    20 
    21 Note:
    21 Note:
    22   syncschema.py hooks are mostly tested in server/test/unittest_migrations.py
    22   syncschema.py hooks are mostly tested in server/test/unittest_migrations.py
    23 """
    23 """
    24 from __future__ import with_statement
       
    25 
    24 
    26 from datetime import datetime
    25 from datetime import datetime
    27 
    26 
    28 from cubicweb import ValidationError, AuthenticationError, BadConnectionId
    27 from cubicweb import ValidationError, AuthenticationError, BadConnectionId
    29 from cubicweb.devtools.testlib import CubicWebTC
    28 from cubicweb.devtools.testlib import CubicWebTC