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):
invoking checkConsistency """
self.assertEqual(
[ 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):
......@@ -319,6 +319,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
'erp5_code_mirror',
'erp5_font',
'erp5_hal_json_style',
'erp5_immobilisation',
'erp5_l10n_fr',
'erp5_l10n_zh',
'erp5_monaco_editor',
......
......@@ -100,11 +100,13 @@
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<tuple>
<none/>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
......@@ -117,8 +119,9 @@
</item>
</dictionary>
</list>
<none/>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</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