Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roque
slapos.core
Commits
ead19ce2
Commit
ead19ce2
authored
Aug 08, 2023
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: Unify and order expected bt5 list
parent
2b13f7f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
117 additions
and
211 deletions
+117
-211
master/bt5/slapos_configurator/TestTemplateItem/portal_components/test.erp5.testSlapOSConfigurator.py
...tem/portal_components/test.erp5.testSlapOSConfigurator.py
+1
-116
master/product/SlapOS/tests/testSlapOSMixin.py
master/product/SlapOS/tests/testSlapOSMixin.py
+116
-95
No files found.
master/bt5/slapos_configurator/TestTemplateItem/portal_components/test.erp5.testSlapOSConfigurator.py
View file @
ead19ce2
...
...
@@ -304,122 +304,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
""" Make sure Installed business Templates are
what it is expected. """
expected_business_template_list
=
[
'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'
]
expected_business_template_list
=
self
.
getExpectedBusinessTemplateInstalledAfterConfiguration
()
# If mixin contains a custom definition that introduce new business templated from
# the project scope, them include it on expected list.
...
...
master/product/SlapOS/tests/testSlapOSMixin.py
View file @
ead19ce2
...
...
@@ -234,101 +234,122 @@ class testSlapOSMixin(ERP5TypeTestCase):
self
.
clearCache
()
def
getExpectedBusinessTemplateInstalledAfterConfiguration
(
self
):
return
[
'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_ui_test_core'
,
'erp5_tiosafe_core'
,
'erp5_item'
,
'erp5_ingestion_mysql_innodb_catalog'
,
'erp5_ingestion'
,
'erp5_syncml'
,
'erp5_web_service'
,
'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_computer_immobilisation'
,
'erp5_open_trade'
,
'erp5_accounting'
,
'erp5_commerce'
,
'erp5_credential'
,
'erp5_km'
,
'erp5_forge'
,
'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_code_mirror'
,
'erp5_font'
,
'erp5_hal_json_style'
,
'erp5_l10n_fr'
,
'erp5_l10n_ja'
,
'erp5_l10n_zh'
,
'erp5_movement_table_catalog'
,
'erp5_web_renderjs_ui'
,
'erp5_bearer_token'
,
'erp5_access_token'
,
'erp5_project'
,
'erp5_oauth'
,
'erp5_oauth_facebook_login'
,
'erp5_oauth_google_login'
,
'erp5_authentication_policy'
,
'erp5_monaco_editor'
,
'erp5_certificate_authority'
,
'slapos_cloud'
,
'slapos_l10n_zh'
,
'slapos_subscription_request'
,
'slapos_slap_tool'
,
'slapos_category'
,
'slapos_rss_style'
,
'slapos_pdm'
,
'slapos_crm'
,
'slapos_payzen'
,
'slapos_wechat'
,
'slapos_web_deploy'
,
'slapos_accounting'
,
'slapos_jio'
,
'slapos_erp5'
,
]
return
[
'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_item'
,
'erp5_ingestion_mysql_innodb_catalog'
,
'erp5_ingestion'
,
'erp5_crm'
,
'erp5_forge'
,
'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_knowledge_pad'
,
'erp5_web'
,
'erp5_jquery'
,
'erp5_jquery_plugin_colorpicker'
,
'erp5_jquery_plugin_elastic'
,
'erp5_jquery_plugin_jqchart'
,
'erp5_jquery_plugin_mbmenu'
,
'erp5_jquery_ui'
,
'erp5_jquery_plugin_sheet'
,
'erp5_jquery_sheet_editor'
,
'erp5_deferred_style'
,
'erp5_dhtml_style'
,
'erp5_rss_style'
,
'erp5_dms'
,
'erp5_content_translation'
,
'erp5_software_pdm'
,
'erp5_svg_editor'
,
'erp5_syncml'
,
'erp5_immobilisation'
,
'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_l10n_fr'
,
'erp5_l10n_ja'
,
'erp5_l10n_zh'
,
'erp5_monaco_editor'
,
'erp5_movement_table_catalog'
,
'erp5_oauth'
,
'erp5_bearer_token'
,
'erp5_oauth_facebook_login'
,
'erp5_oauth_google_login'
,
'erp5_web_renderjs_ui'
,
'erp5_web_service'
,
'erp5_oauth2_resource'
,
'erp5_tiosafe_core'
,
'erp5_graph_editor'
,
'slapos_l10n_zh'
,
'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_slap_tool'
,
'slapos_category'
,
'slapos_rss_style'
,
'slapos_pdm'
,
'slapos_crm'
,
'slapos_accounting'
,
'slapos_payzen'
,
'slapos_wechat'
,
'slapos_web_deploy'
,
'slapos_subscription_request'
,
'slapos_abyss'
,
'slapos_jio'
,
'slapos_erp5'
,
]
def
getBusinessTemplateList
(
self
):
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment