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
Ivan Tyagov
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):
...
@@ -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.
...
...
master/product/SlapOS/tests/testSlapOSMixin.py
View file @
ead19ce2
...
@@ -234,101 +234,122 @@ class testSlapOSMixin(ERP5TypeTestCase):
...
@@ -234,101 +234,122 @@ class testSlapOSMixin(ERP5TypeTestCase):
self
.
clearCache
()
self
.
clearCache
()
def
getExpectedBusinessTemplateInstalledAfterConfiguration
(
self
):
def
getExpectedBusinessTemplateInstalledAfterConfiguration
(
self
):
return
[
'erp5_core'
,
return
[
'erp5_xhtml_style'
,
'erp5_core'
,
'erp5_property_sheets'
,
'erp5_xhtml_style'
,
'erp5_mysql_innodb_catalog'
,
'erp5_property_sheets'
,
'erp5_upgrader'
,
'erp5_mysql_innodb_catalog'
,
'slapos_upgrader'
,
'erp5_upgrader'
,
'erp5_full_text_mroonga_catalog'
,
'slapos_upgrader'
,
'erp5_core_proxy_field_legacy'
,
'erp5_full_text_mroonga_catalog'
,
'erp5_base'
,
'erp5_core_proxy_field_legacy'
,
'erp5_administration'
,
'erp5_base'
,
'erp5_configurator'
,
'erp5_administration'
,
'slapos_configurator'
,
'erp5_configurator'
,
'erp5_simulation'
,
'slapos_configurator'
,
'erp5_pdm'
,
'erp5_simulation'
,
'erp5_trade'
,
'erp5_pdm'
,
'erp5_ui_test_core'
,
'erp5_trade'
,
'erp5_tiosafe_core'
,
'erp5_item'
,
'erp5_item'
,
'erp5_ingestion_mysql_innodb_catalog'
,
'erp5_ingestion_mysql_innodb_catalog'
,
'erp5_ingestion'
,
'erp5_ingestion'
,
'erp5_crm'
,
'erp5_syncml'
,
'erp5_forge'
,
'erp5_web_service'
,
'erp5_system_event'
,
'erp5_crm'
,
'erp5_secure_payment'
,
'erp5_system_event'
,
'erp5_security_uid_innodb_catalog'
,
'erp5_secure_payment'
,
'erp5_payzen_secure_payment'
,
'erp5_security_uid_innodb_catalog'
,
'erp5_wechat_secure_payment'
,
'erp5_payzen_secure_payment'
,
'erp5_ooo_import'
,
'erp5_wechat_secure_payment'
,
'erp5_odt_style'
,
'erp5_ooo_import'
,
'erp5_ods_style'
,
'erp5_odt_style'
,
'erp5_knowledge_pad'
,
'erp5_ods_style'
,
'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_plugin_sheet'
,
'erp5_jquery_ui'
,
'erp5_jquery_sheet_editor'
,
'erp5_jquery_plugin_sheet'
,
'erp5_jquery_ui'
,
'erp5_jquery_sheet_editor'
,
'erp5_deferred_style'
,
'erp5_deferred_style'
,
'erp5_dhtml_style'
,
'erp5_dhtml_style'
,
'erp5_knowledge_pad'
,
'erp5_rss_style'
,
'erp5_web'
,
'erp5_dms'
,
'erp5_rss_style'
,
'erp5_content_translation'
,
'erp5_dms'
,
'erp5_software_pdm'
,
'erp5_content_translation'
,
'erp5_svg_editor'
,
'erp5_software_pdm'
,
'erp5_syncml'
,
'erp5_svg_editor'
,
'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'
,
'erp5_web_shadir'
,
'erp5_web_shadir'
,
'erp5_invoicing'
,
'erp5_invoicing'
,
'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_movement_table_catalog'
,
'erp5_monaco_editor'
,
'erp5_web_renderjs_ui'
,
'erp5_movement_table_catalog'
,
'erp5_bearer_token'
,
'erp5_oauth'
,
'erp5_access_token'
,
'erp5_bearer_token'
,
'erp5_project'
,
'erp5_oauth_facebook_login'
,
'erp5_oauth'
,
'erp5_oauth_google_login'
,
'erp5_oauth_facebook_login'
,
'erp5_web_renderjs_ui'
,
'erp5_oauth_google_login'
,
'erp5_web_service'
,
'erp5_authentication_policy'
,
'erp5_oauth2_resource'
,
'erp5_monaco_editor'
,
'erp5_tiosafe_core'
,
'erp5_certificate_authority'
,
'erp5_graph_editor'
,
'slapos_cloud'
,
'slapos_l10n_zh'
,
'slapos_l10n_zh'
,
'erp5_certificate_authority'
,
'slapos_subscription_request'
,
'erp5_access_token'
,
'slapos_slap_tool'
,
'erp5_project'
,
'slapos_category'
,
'erp5_run_my_doc'
,
'slapos_rss_style'
,
'erp5_slapos_tutorial'
,
'slapos_pdm'
,
'erp5_slapos_tutorial_data'
,
'slapos_crm'
,
'erp5_slideshow_style'
,
'slapos_payzen'
,
'erp5_authentication_policy'
,
'slapos_wechat'
,
'erp5_multimedia'
,
'slapos_web_deploy'
,
'erp5_notebook'
,
'slapos_accounting'
,
'erp5_officejs'
,
'slapos_jio'
,
'erp5_corporate_identity'
,
'slapos_erp5'
,
'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
):
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