server/test/unittest_migractions.py
changeset 11288 ab0a1863248e
parent 11112 d0d86803a804
--- a/server/test/unittest_migractions.py	Thu Jun 16 17:35:39 2016 +0200
+++ b/server/test/unittest_migractions.py	Fri Jun 17 14:44:59 2016 +0200
@@ -17,8 +17,8 @@
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
 """unit tests for module cubicweb.server.migractions"""
 
+import os.path as osp
 from datetime import date
-import os, os.path as osp
 from contextlib import contextmanager
 
 from logilab.common.testlib import unittest_main, Tags, tag
@@ -36,13 +36,13 @@
 
 
 HERE = osp.dirname(osp.abspath(__file__))
+migrschema = None
 
 
 def setUpModule():
     startpgcluster(__file__)
 
 
-migrschema = None
 def tearDownModule(*args):
     global migrschema
     del migrschema