--- a/hooks/test/unittest_hooks.py Wed Feb 24 11:48:24 2010 +0100
+++ b/hooks/test/unittest_hooks.py Wed Feb 24 11:52:11 2010 +0100
@@ -9,22 +9,8 @@
from datetime import datetime
-from cubicweb import (ConnectionError, ValidationError, AuthenticationError,
- BadConnectionId)
-from cubicweb.devtools.testlib import CubicWebTC, get_versions
-
-from cubicweb.server.sqlutils import SQL_PREFIX
-from cubicweb.server.repository import Repository
-
-orig_get_versions = Repository.get_versions
-
-def setup_module(*args):
- Repository.get_versions = get_versions
-
-def teardown_module(*args):
- Repository.get_versions = orig_get_versions
-
-
+from cubicweb import ValidationError, AuthenticationError, BadConnectionId
+from cubicweb.devtools.testlib import CubicWebTC
class CoreHooksTC(CubicWebTC):