Commit ead19ce2 authored by Rafael Monnerat's avatar Rafael Monnerat

tests: Unify and order expected bt5 list

parent 2b13f7f7
...@@ -304,122 +304,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin): ...@@ -304,122 +304,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
""" Make sure Installed business Templates are """ Make sure Installed business Templates are
what it is expected. """ what it is expected. """
expected_business_template_list = [ expected_business_template_list = self.getExpectedBusinessTemplateInstalledAfterConfiguration()
'erp5_core',
'erp5_xhtml_style',
'erp5_property_sheets',
'erp5_mysql_innodb_catalog',
'erp5_upgrader',
'slapos_upgrader',
'erp5_full_text_mroonga_catalog',
'erp5_core_proxy_field_legacy',
'erp5_base',
'erp5_administration',
'erp5_configurator',
'slapos_configurator',
'erp5_simulation',
'erp5_pdm',
'erp5_trade',
'erp5_tiosafe_core',
'erp5_item',
'erp5_forge',
'erp5_ingestion_mysql_innodb_catalog',
'erp5_ingestion',
'erp5_crm',
'erp5_system_event',
'erp5_secure_payment',
'erp5_security_uid_innodb_catalog',
'erp5_payzen_secure_payment',
'erp5_wechat_secure_payment',
'erp5_ooo_import',
'erp5_odt_style',
'erp5_ods_style',
'erp5_jquery',
'erp5_jquery_plugin_colorpicker',
'erp5_jquery_plugin_elastic',
'erp5_jquery_plugin_jqchart',
'erp5_jquery_plugin_mbmenu',
'erp5_jquery_plugin_sheet',
'erp5_jquery_sheet_editor',
'erp5_jquery_ui',
'erp5_deferred_style',
'erp5_dhtml_style',
'erp5_knowledge_pad',
'erp5_web',
'erp5_rss_style',
'erp5_dms',
'erp5_content_translation',
'erp5_software_pdm',
'erp5_svg_editor',
'erp5_syncml',
'erp5_computer_immobilisation',
'erp5_open_trade',
'erp5_accounting',
'erp5_commerce',
'erp5_credential',
'erp5_km',
'erp5_web_download_theme',
'erp5_web_shacache',
'erp5_data_set',
'erp5_web_shadir',
'erp5_invoicing',
'erp5_simplified_invoicing',
'erp5_credential_oauth2',
'erp5_accounting_l10n_fr',
'erp5_accounting_l10n_ifrs',
'erp5_code_mirror',
'erp5_font',
'erp5_hal_json_style',
'erp5_immobilisation',
'erp5_l10n_fr',
'erp5_l10n_ja',
'erp5_l10n_zh',
'erp5_monaco_editor',
'erp5_movement_table_catalog',
'erp5_web_renderjs_ui',
'erp5_web_service',
'erp5_graph_editor',
'slapos_jio',
'slapos_l10n_zh',
'slapos_subscription_request',
'erp5_bearer_token',
'erp5_certificate_authority',
'erp5_access_token',
'erp5_project',
'erp5_oauth',
'erp5_oauth_facebook_login',
'erp5_oauth_google_login',
'erp5_run_my_doc',
'erp5_slapos_tutorial',
'erp5_slapos_tutorial_data',
'erp5_slideshow_style',
'erp5_authentication_policy',
'erp5_multimedia',
'erp5_corporate_identity',
'erp5_officejs',
'erp5_oauth2_resource',
'erp5_notebook',
'erp5_smart_assistant',
'erp5_interaction_drop',
'slapos_mysql_innodb_catalog',
'slapos_cloud',
'slapos_slap_tool',
'slapos_category',
'slapos_rss_style',
'slapos_pdm',
'slapos_crm',
'slapos_accounting',
'slapos_payzen',
'slapos_wechat',
'slapos_web_deploy',
'slapos_erp5',
'erp5_big_file',
'erp5_json_type',
'erp5_data_notebook',
'erp5_wendelin',
'slapos_abyss',
'erp5_development_wizard'
]
# 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.
......
...@@ -234,7 +234,8 @@ class testSlapOSMixin(ERP5TypeTestCase): ...@@ -234,7 +234,8 @@ class testSlapOSMixin(ERP5TypeTestCase):
self.clearCache() self.clearCache()
def getExpectedBusinessTemplateInstalledAfterConfiguration(self): def getExpectedBusinessTemplateInstalledAfterConfiguration(self):
return [ 'erp5_core', return [
'erp5_core',
'erp5_xhtml_style', 'erp5_xhtml_style',
'erp5_property_sheets', 'erp5_property_sheets',
'erp5_mysql_innodb_catalog', 'erp5_mysql_innodb_catalog',
...@@ -249,14 +250,11 @@ class testSlapOSMixin(ERP5TypeTestCase): ...@@ -249,14 +250,11 @@ class testSlapOSMixin(ERP5TypeTestCase):
'erp5_simulation', 'erp5_simulation',
'erp5_pdm', 'erp5_pdm',
'erp5_trade', 'erp5_trade',
'erp5_ui_test_core',
'erp5_tiosafe_core',
'erp5_item', 'erp5_item',
'erp5_ingestion_mysql_innodb_catalog', 'erp5_ingestion_mysql_innodb_catalog',
'erp5_ingestion', 'erp5_ingestion',
'erp5_syncml',
'erp5_web_service',
'erp5_crm', 'erp5_crm',
'erp5_forge',
'erp5_system_event', 'erp5_system_event',
'erp5_secure_payment', 'erp5_secure_payment',
'erp5_security_uid_innodb_catalog', 'erp5_security_uid_innodb_catalog',
...@@ -265,30 +263,31 @@ class testSlapOSMixin(ERP5TypeTestCase): ...@@ -265,30 +263,31 @@ class testSlapOSMixin(ERP5TypeTestCase):
'erp5_ooo_import', 'erp5_ooo_import',
'erp5_odt_style', 'erp5_odt_style',
'erp5_ods_style', 'erp5_ods_style',
'erp5_knowledge_pad',
'erp5_web',
'erp5_jquery', 'erp5_jquery',
'erp5_jquery_plugin_colorpicker', 'erp5_jquery_plugin_colorpicker',
'erp5_jquery_plugin_elastic', 'erp5_jquery_plugin_elastic',
'erp5_jquery_plugin_jqchart', 'erp5_jquery_plugin_jqchart',
'erp5_jquery_plugin_mbmenu', 'erp5_jquery_plugin_mbmenu',
'erp5_jquery_ui',
'erp5_jquery_plugin_sheet', 'erp5_jquery_plugin_sheet',
'erp5_jquery_sheet_editor', 'erp5_jquery_sheet_editor',
'erp5_jquery_ui',
'erp5_deferred_style', 'erp5_deferred_style',
'erp5_dhtml_style', 'erp5_dhtml_style',
'erp5_knowledge_pad',
'erp5_web',
'erp5_rss_style', 'erp5_rss_style',
'erp5_dms', 'erp5_dms',
'erp5_content_translation', 'erp5_content_translation',
'erp5_software_pdm', 'erp5_software_pdm',
'erp5_svg_editor', 'erp5_svg_editor',
'erp5_syncml',
'erp5_immobilisation',
'erp5_computer_immobilisation', 'erp5_computer_immobilisation',
'erp5_open_trade', 'erp5_open_trade',
'erp5_accounting', 'erp5_accounting',
'erp5_commerce', 'erp5_commerce',
'erp5_credential', 'erp5_credential',
'erp5_km', 'erp5_km',
'erp5_forge',
'erp5_web_download_theme', 'erp5_web_download_theme',
'erp5_web_shacache', 'erp5_web_shacache',
'erp5_data_set', 'erp5_data_set',
...@@ -297,35 +296,57 @@ class testSlapOSMixin(ERP5TypeTestCase): ...@@ -297,35 +296,57 @@ class testSlapOSMixin(ERP5TypeTestCase):
'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',
'erp5_l10n_fr', 'erp5_l10n_fr',
'erp5_l10n_ja', 'erp5_l10n_ja',
'erp5_l10n_zh', 'erp5_l10n_zh',
'erp5_monaco_editor',
'erp5_movement_table_catalog', 'erp5_movement_table_catalog',
'erp5_web_renderjs_ui',
'erp5_bearer_token',
'erp5_access_token',
'erp5_project',
'erp5_oauth', 'erp5_oauth',
'erp5_bearer_token',
'erp5_oauth_facebook_login', 'erp5_oauth_facebook_login',
'erp5_oauth_google_login', 'erp5_oauth_google_login',
'erp5_authentication_policy', 'erp5_web_renderjs_ui',
'erp5_monaco_editor', 'erp5_web_service',
'erp5_oauth2_resource',
'erp5_tiosafe_core',
'erp5_graph_editor',
'slapos_l10n_zh',
'erp5_certificate_authority', 'erp5_certificate_authority',
'erp5_access_token',
'erp5_project',
'erp5_run_my_doc',
'erp5_slapos_tutorial',
'erp5_slapos_tutorial_data',
'erp5_slideshow_style',
'erp5_authentication_policy',
'erp5_multimedia',
'erp5_notebook',
'erp5_officejs',
'erp5_corporate_identity',
'erp5_big_file',
'erp5_json_type',
'erp5_data_notebook',
'erp5_wendelin',
'erp5_development_wizard',
'erp5_smart_assistant',
'erp5_interaction_drop',
'slapos_mysql_innodb_catalog',
'slapos_cloud', 'slapos_cloud',
'slapos_l10n_zh',
'slapos_subscription_request',
'slapos_slap_tool', 'slapos_slap_tool',
'slapos_category', 'slapos_category',
'slapos_rss_style', 'slapos_rss_style',
'slapos_pdm', 'slapos_pdm',
'slapos_crm', 'slapos_crm',
'slapos_accounting',
'slapos_payzen', 'slapos_payzen',
'slapos_wechat', 'slapos_wechat',
'slapos_web_deploy', 'slapos_web_deploy',
'slapos_accounting', 'slapos_subscription_request',
'slapos_abyss',
'slapos_jio', 'slapos_jio',
'slapos_erp5', 'slapos_erp5',
] ]
......
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