--- a/server/test/unittest_schemaserial.py Fri May 30 17:38:14 2014 +0200
+++ b/server/test/unittest_schemaserial.py Fri May 30 17:40:22 2014 +0200
@@ -26,6 +26,10 @@
from cubicweb.schema import CubicWebSchemaLoader
from cubicweb.devtools import TestServerConfiguration
+from cubicweb.server.schemaserial import (updateeschema2rql, updaterschema2rql, rschema2rql,
+ eschema2rql, rdef2rql, specialize2rql,
+ _erperms2rql as erperms2rql)
+
from logilab.database import get_db_helper
from yams import register_base_type, unregister_base_type
@@ -53,9 +57,6 @@
helper.TYPE_MAPPING.pop('BabarTestType', None)
helper.TYPE_CONVERTERS.pop('BabarTestType', None)
-from cubicweb.server.schemaserial import *
-from cubicweb.server.schemaserial import _erperms2rql as erperms2rql
-
cstrtypemap = {'RQLConstraint': 'RQLConstraint_eid',
'SizeConstraint': 'SizeConstraint_eid',
'StaticVocabularyConstraint': 'StaticVocabularyConstraint_eid',