Commit 37b75ab0 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_configurator: Update test for recent changes on ERP5 Code base

  * erp5_immobilisation is now installed
  * "Update translation table" is verbosed as some bt5 are always marked to be resinstalled
parent b10b5681
...@@ -76,7 +76,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin): ...@@ -76,7 +76,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
invoking checkConsistency """ invoking checkConsistency """
self.assertEqual( self.assertEqual(
[ i for i in self.portal.portal_templates.checkConsistency() [ i for i in self.portal.portal_templates.checkConsistency()
if "(reinstall)" not in i.message], []) if not ("(reinstall)" in i.message or "Update translation table" in i.message)], [])
def testConfiguredVolatileCache(self): def testConfiguredVolatileCache(self):
...@@ -319,6 +319,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin): ...@@ -319,6 +319,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
'erp5_code_mirror', 'erp5_code_mirror',
'erp5_font', 'erp5_font',
'erp5_hal_json_style', 'erp5_hal_json_style',
'erp5_immobilisation',
'erp5_l10n_fr', 'erp5_l10n_fr',
'erp5_l10n_zh', 'erp5_l10n_zh',
'erp5_monaco_editor', 'erp5_monaco_editor',
......
...@@ -100,11 +100,13 @@ ...@@ -100,11 +100,13 @@
</record> </record>
<record id="4" aka="AAAAAAAAAAQ="> <record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/> <global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle> </pickle>
<pickle> <pickle>
<tuple> <dictionary>
<none/> <item>
<key> <string>_log</string> </key>
<value>
<list> <list>
<dictionary> <dictionary>
<item> <item>
...@@ -117,8 +119,9 @@ ...@@ -117,8 +119,9 @@
</item> </item>
</dictionary> </dictionary>
</list> </list>
<none/> </value>
</tuple> </item>
</dictionary>
</pickle> </pickle>
</record> </record>
</ZopeData> </ZopeData>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment