[test] stop deepcopying for nothing
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 24 Apr 2013 14:51:06 +0200
changeset 8942 0f60f1061a2e
parent 8941 7b26fe71404f
child 8943 58b3b2d9c965
[test] stop deepcopying for nothing
server/test/unittest_migractions.py
--- a/server/test/unittest_migractions.py	Fri Apr 26 12:10:37 2013 +0200
+++ b/server/test/unittest_migractions.py	Wed Apr 24 14:51:06 2013 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2013 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -17,7 +17,6 @@
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
 """unit tests for module cubicweb.server.migractions"""
 
-from copy import deepcopy
 from datetime import date
 from os.path import join
 
@@ -53,7 +52,6 @@
         config = cls.config
         config._cubes = None
         cls.repo.fill_schema()
-        cls.origschema = deepcopy(cls.repo.schema)
         # hack to read the schema from data/migrschema
         config.appid = join('data', 'migratedapp')
         config._apphome = cls.datapath('migratedapp')