hooks/test/unittest_syncschema.py
changeset 8947 3bbd416b09ec
parent 8718 9e7847dcbd94
child 9028 c88261b641a9
child 9299 c5eed908117d
--- a/hooks/test/unittest_syncschema.py	Wed Apr 24 14:49:49 2013 +0200
+++ b/hooks/test/unittest_syncschema.py	Fri Apr 26 18:06:44 2013 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2012 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.
@@ -34,7 +34,7 @@
 
     def setUp(self):
         super(SchemaModificationHooksTC, self).setUp()
-        self.repo.fill_schema()
+        self.repo.set_schema(self.repo.deserialize_schema(), resetvreg=False)
         self.__class__.schema_eids = schema_eids_idx(self.repo.schema)
 
     def index_exists(self, etype, attr, unique=False):