--- a/hooks/test/unittest_syncschema.py Wed Feb 24 11:48:24 2010 +0100
+++ b/hooks/test/unittest_syncschema.py Wed Feb 24 11:52:11 2010 +0100
@@ -1,31 +1,11 @@
from logilab.common.testlib import TestCase, unittest_main
-from cubicweb.devtools.testlib import CubicWebTC
-#################
-# <required ?> #
-#################
+from cubicweb import ValidationError
+from cubicweb.devtools.testlib import CubicWebTC
+from cubicweb.server.sqlutils import SQL_PREFIX
-from datetime import datetime
-
-from cubicweb import (ConnectionError, ValidationError, AuthenticationError,
- BadConnectionId)
-from cubicweb.devtools.testlib import get_versions
-
-from cubicweb.server.sqlutils import SQL_PREFIX
-from cubicweb.server.repository import Repository
-
-orig_get_versions = Repository.get_versions
-#################
-# </required ?> #
-#################
-
-def setup_module(*args):
- Repository.get_versions = get_versions
-
-def teardown_module(*args):
- Repository.get_versions = orig_get_versions
-
+SCHEMA_EIDS = {}
class SchemaModificationHooksTC(CubicWebTC):
@classmethod