equal
deleted
inserted
replaced
202 else: |
202 else: |
203 # test start: use the file system schema (quicker) |
203 # test start: use the file system schema (quicker) |
204 self.warning("set fs instance'schema") |
204 self.warning("set fs instance'schema") |
205 config.bootstrap_cubes() |
205 config.bootstrap_cubes() |
206 self.set_schema(config.load_schema()) |
206 self.set_schema(config.load_schema()) |
207 # make sure we have a hook registry in tests |
|
208 self.vreg['hooks'] = hook.HooksRegistry(self.vreg) |
|
209 if not config.creating: |
207 if not config.creating: |
210 if 'CWProperty' in self.schema: |
208 if 'CWProperty' in self.schema: |
211 self.vreg.init_properties(self.properties()) |
209 self.vreg.init_properties(self.properties()) |
212 # call source's init method to complete their initialisation if |
210 # call source's init method to complete their initialisation if |
213 # needed (for instance looking for persistent configuration using an |
211 # needed (for instance looking for persistent configuration using an |