--- a/server/test/unittest_migractions.py Wed Apr 24 14:49:49 2013 +0200
+++ b/server/test/unittest_migractions.py Fri Apr 26 18:06:44 2013 +0200
@@ -49,10 +49,9 @@
def _init_repo(cls):
super(MigrationCommandsTC, cls)._init_repo()
# we have to read schema from the database to get eid for schema entities
+ cls.repo.set_schema(cls.repo.deserialize_schema(), resetvreg=False)
+ # hack to read the schema from data/migrschema
config = cls.config
- config._cubes = None
- cls.repo.fill_schema()
- # hack to read the schema from data/migrschema
config.appid = join('data', 'migratedapp')
config._apphome = cls.datapath('migratedapp')
global migrschema