Commit e41fa962 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_accounting&configurator: Install erp5_accounting_l10n_ifrs bt5

   Simplify the extensions on testSlapOSConfigurator to the expected bt5 and modules list
parent 5dbccddf
erp5_accounting erp5_accounting
erp5_invoicing erp5_invoicing
erp5_accounting_l10n_fr erp5_accounting_l10n_fr
erp5_accounting_l10n_ifrs
erp5_open_trade erp5_open_trade
erp5_simplified_invoicing erp5_simplified_invoicing
erp5_tiosafe_core erp5_tiosafe_core
......
...@@ -254,8 +254,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin): ...@@ -254,8 +254,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
] ]
# If mixin contains a custom definition that introduce new business templated from # If mixin contains a custom definition that introduce new business templated from
# the project scope, them include it on expected list. # the project scope, them include it on expected list.
expected_module_list += getattr(self, expected_module_list.extend(self._custom_expected_module_list)
"_testSlapOSConfigurator_custom_expected_module_list", [])
self.assertSameSet(module_list, expected_module_list) self.assertSameSet(module_list, expected_module_list)
...@@ -328,6 +327,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin): ...@@ -328,6 +327,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
'erp5_simplified_invoicing', 'erp5_simplified_invoicing',
'erp5_credential_oauth2', 'erp5_credential_oauth2',
'erp5_accounting_l10n_fr', 'erp5_accounting_l10n_fr',
'erp5_accounting_l10n_ifrs',
'erp5_code_mirror', 'erp5_code_mirror',
'erp5_font', 'erp5_font',
'erp5_hal_json_style', 'erp5_hal_json_style',
...@@ -370,8 +370,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin): ...@@ -370,8 +370,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
# If mixin contains a custom definition that introduce new business templated from # If mixin contains a custom definition that introduce new business templated from
# the project scope, them include it on expected list. # the project scope, them include it on expected list.
expected_business_template_list += getattr(self, expected_business_template_list.extend(self._custom_additional_bt5_list)
"_testSlapOSConfigurator_custom_additional_bt5_list", [])
self.assertSameSet(expected_business_template_list, self.assertSameSet(expected_business_template_list,
self.portal.portal_templates.getInstalledBusinessTemplateTitleList()) self.portal.portal_templates.getInstalledBusinessTemplateTitleList())
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