diff -r a6ca96ec8693 -r d901c36bcfce server/test/unittest_hook.py --- a/server/test/unittest_hook.py Thu Feb 14 15:29:20 2013 +0100 +++ b/server/test/unittest_hook.py Thu Feb 14 15:39:23 2013 +0100 @@ -18,17 +18,13 @@ # with CubicWeb. If not, see . """unit/functional tests for cubicweb.server.hook""" -from __future__ import with_statement - from logilab.common.testlib import TestCase, unittest_main, mock_object - from cubicweb.devtools import TestServerConfiguration, fake from cubicweb.devtools.testlib import CubicWebTC from cubicweb.server import hook from cubicweb.hooks import integrity, syncschema - def clean_session_ops(func): def wrapper(self, *args, **kwargs): try: