testERP5Core: also test the tools registration when testing the site manager migration
Showing
-
I reverted it and got this error :
======================================================================
ERROR: test_site_manager_and_translation_migration (erp5.component.test.erp5_version.testERP5Core.TestERP5Core)Traceback (most recent call last):
File "<portal_components/test.erp5.testERP5Core>", line 609, in test_site_manager_and_translation_migration
self.assertEqual(queryUtility(ITranslationDomain, 'erp5_ui'),
File "/srv/slapgrid/slappart92/srv/runner/software/907d0cee900f4a267e98f6752d5866da/eggs/zope.component-3.9.5-py2.7.egg/zope/component/_api.py", line 172, in queryUtility
return getSiteManager(context).queryUtility(interface, name, default)
AttributeError: 'NoneType' object has no attribute 'queryUtility'But maybe this migration should be tested in testUpgradeInstanceWithOldDataFs instead
Please register or sign in to comment