Changeset 12472 for main/waeup.kofa/trunk/src
- Timestamp:
- 15 Jan 2015, 06:21:08 (10 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/app.py
r11477 r12472 84 84 grok.notify(ObjectUpgradeEvent(self)) 85 85 self.logger.info('Done.') 86 self.logger.info('Now upgrading any plugins.') 86 #self.logger.info('Now upgrading any plugins.') 87 self.logger.info('Now upgrading documents plugin.') 87 88 for name, plugin in getUtilitiesFor(IKofaPluggable): 88 plugin.update(self, name, self.logger) 89 if name in ('documents',): 90 plugin.update(self, name, self.logger) 89 91 self.logger.info('Plugin update finished.') 90 92 return -
main/waeup.kofa/trunk/src/waeup/kofa/tests/test_app.py
r9217 r12472 60 60 # We can update plugins 61 61 setSite(self.app) 62 del self.app[' accesscodes']62 del self.app['documents'] 63 63 self.app.updatePlugins() 64 self.assertTrue(' accesscodes' in self.app.keys())64 self.assertTrue('documents' in self.app.keys()) 65 65 return 66 66
Note: See TracChangeset for help on using the changeset viewer.