server/test/unittest_migractions.py
changeset 2744 66048c669933
parent 2642 2d30de60a8ff
child 2745 0dafa29ace1f
equal deleted inserted replaced
2743:b0e79a77ad67 2744:66048c669933
    36             self.repo.config.appid = join('data', 'migratedapp')
    36             self.repo.config.appid = join('data', 'migratedapp')
    37             global migrschema
    37             global migrschema
    38             migrschema = self.repo.config.load_schema()
    38             migrschema = self.repo.config.load_schema()
    39             self.repo.config.appid = 'data'
    39             self.repo.config.appid = 'data'
    40             assert 'Folder' in migrschema
    40             assert 'Folder' in migrschema
    41             self.repo.hm.deactivate_verification_hooks()
       
    42         RepositoryBasedTC.setUp(self)
    41         RepositoryBasedTC.setUp(self)
    43         self.mh = ServerMigrationHelper(self.repo.config, migrschema,
    42         self.mh = ServerMigrationHelper(self.repo.config, migrschema,
    44                                         repo=self.repo, cnx=self.cnx,
    43                                         repo=self.repo, cnx=self.cnx,
    45                                         interactive=False)
    44                                         interactive=False)
    46         assert self.cnx is self.mh._cnx
    45         assert self.cnx is self.mh._cnx