# HG changeset patch # User Sylvain Thénault # Date 1366807866 -7200 # Node ID 0f60f1061a2eb5d16e8ec14a6ed26cd423636150 # Parent 7b26fe71404f8e3899c588482bff1b687271ee37 [test] stop deepcopying for nothing diff -r 7b26fe71404f -r 0f60f1061a2e 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 . """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')