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,25 +100,28 @@ ...@@ -100,25 +100,28 @@
</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>
<list> <key> <string>_log</string> </key>
<dictionary> <value>
<item> <list>
<key> <string>action</string> </key> <dictionary>
<value> <string>validate</string> </value> <item>
</item> <key> <string>action</string> </key>
<item> <value> <string>validate</string> </value>
<key> <string>validation_state</string> </key> </item>
<value> <string>validated</string> </value> <item>
</item> <key> <string>validation_state</string> </key>
</dictionary> <value> <string>validated</string> </value>
</list> </item>
<none/> </dictionary>
</tuple> </list>
</value>
</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