cubicweb/server/test/unittest_schemaserial.py
changeset 11767 432f87a63057
parent 11417 5e5e224239c3
child 11768 b8b71dd09a2c
--- a/cubicweb/server/test/unittest_schemaserial.py	Wed Oct 05 15:28:43 2016 +0200
+++ b/cubicweb/server/test/unittest_schemaserial.py	Fri Sep 30 18:25:08 2016 +0200
@@ -17,19 +17,21 @@
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
 """unit tests for schema rql (de)serialization"""
 
+from logilab.database import get_db_helper
+
+from yams import register_base_type, unregister_base_type
+
 from cubicweb import Binary
 from cubicweb.schema import CubicWebSchemaLoader
 from cubicweb.devtools import TestServerConfiguration
 from cubicweb.devtools.testlib import BaseTestCase as TestCase, CubicWebTC
-
 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
 
 schema = config = None
+
 def setUpModule(*args):
     register_base_type('BabarTestType', ('jungle_speed',))
     helper = get_db_helper('sqlite')