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
Ophélie Gagnard
slapos.core
Commits
31300689
Commit
31300689
authored
Jun 24, 2022
by
Ophélie Gagnard
Committed by
Ophélie Gagnard
Nov 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bt5/slapos_*: Update upstream unit tests.
parent
95158cc4
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
80 additions
and
52 deletions
+80
-52
master/bt5/slapos_abyss_test/TestTemplateItem/portal_components/test.erp5.testSlapOSAbyss.py
...mplateItem/portal_components/test.erp5.testSlapOSAbyss.py
+1
-1
master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSAccountingConstraint.py
...al_components/test.erp5.testSlapOSAccountingConstraint.py
+2
-2
master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSAccountingConstraint.xml
...l_components/test.erp5.testSlapOSAccountingConstraint.xml
+3
-24
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5SkinSelection.py
...ortal_components/test.erp5.testSlapOSERP5SkinSelection.py
+70
-0
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSXHTML.py
...mplateItem/portal_components/test.erp5.testSlapOSXHTML.py
+1
-1
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSXHTML.xml
...plateItem/portal_components/test.erp5.testSlapOSXHTML.xml
+3
-24
No files found.
master/bt5/slapos_abyss_test/TestTemplateItem/portal_components/test.erp5.testSlapOSAbyss.py
View file @
31300689
...
...
@@ -220,7 +220,7 @@ tail.0:2021-10-15 15:11:02.230745474 +0200 CEST[fluentbit_end]\n'
tmp_data_array
.
convertFile
()
self
.
tic
()
## Call DataArray_generateDiff
ND
## Call DataArray_generateDiff
self
.
portal
.
portal_alarms
.
slapos_check_node_status
.
activeSense
()
self
.
tic
()
...
...
master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSAccountingConstraint.py
View file @
31300689
...
...
@@ -362,9 +362,9 @@ class TestSalePackingListLine(TestSlapOSConstraintMixin):
@
withAbort
def
test_resource_arity
(
self
):
category
=
'resource'
message
=
"Arity Error for Relation ['%s'] and Type ('
Service',
), arity is"
\
message
=
"Arity Error for Relation ['%s'] and Type ('
Data Operation', 'Service'
), arity is"
\
" equal to 0 but should be between 1 and 1"
%
category
message_2
=
"Arity Error for Relation ['%s'] and Type ('
Service',
), arity is"
\
message_2
=
"Arity Error for Relation ['%s'] and Type ('
Data Operation', 'Service'
), arity is"
\
" equal to 2 but should be between 1 and 1"
%
category
delivery_line
=
self
.
portal
.
sale_packing_list_module
.
newContent
(
portal_type
=
'Sale Packing List'
).
newContent
(
...
...
master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSAccountingConstraint.xml
View file @
31300689
...
...
@@ -6,12 +6,6 @@
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_recorded_property_dict
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testSlapOSAccountingConstraint
</string>
</value>
...
...
@@ -55,28 +49,13 @@
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
M
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
I
=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
...
...
@@ -89,7 +68,7 @@
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Q
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
M
=
</string>
</persistent>
</value>
</item>
</dictionary>
...
...
@@ -98,7 +77,7 @@
</dictionary>
</pickle>
</record>
<record
id=
"
4"
aka=
"AAAAAAAAAAQ
="
>
<record
id=
"
3"
aka=
"AAAAAAAAAAM
="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
...
...
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5SkinSelection.py
View file @
31300689
...
...
@@ -95,6 +95,7 @@ erp5_authentication_policy
erp5_auto_logout
erp5_base
erp5_bearer_token
erp5_big_file
erp5_ckeditor
erp5_code_mirror
erp5_commerce
...
...
@@ -110,6 +111,7 @@ erp5_credential_oauth2
erp5_crm
erp5_data_set
erp5_deferred_style_core
erp5_development
erp5_dhtml_style
erp5_diff
erp5_dms
...
...
@@ -124,6 +126,7 @@ erp5_ingestion
erp5_integration
erp5_invoicing
erp5_jquery_sheet_editor
erp5_json_type
erp5_monaco_editor
erp5_oauth
erp5_oauth_facebook_login
...
...
@@ -155,6 +158,8 @@ erp5_web_renderjs
erp5_web_service
erp5_web_widget_library
erp5_wechat_secure_payment
erp5_wendelin
erp5_wendelin_notebook
erp5_xhtml_style
external_method
slapos_disaster_recovery
...
...
@@ -204,6 +209,7 @@ erp5_authentication_policy
erp5_auto_logout
erp5_base
erp5_bearer_token
erp5_big_file
erp5_ckeditor
erp5_code_mirror
erp5_commerce
...
...
@@ -220,6 +226,7 @@ erp5_crm
erp5_data_set
erp5_deferred_style
erp5_deferred_style_core
erp5_development
erp5_dhtml_style
erp5_diff
erp5_dms
...
...
@@ -234,6 +241,7 @@ erp5_ingestion
erp5_integration
erp5_invoicing
erp5_jquery_sheet_editor
erp5_json_type
erp5_monaco_editor
erp5_oauth
erp5_oauth_facebook_login
...
...
@@ -265,6 +273,8 @@ erp5_web_renderjs
erp5_web_service
erp5_web_widget_library
erp5_wechat_secure_payment
erp5_wendelin
erp5_wendelin_notebook
external_method
slapos_disaster_recovery
"""
...
...
@@ -315,6 +325,7 @@ erp5_authentication_policy
erp5_auto_logout
erp5_base
erp5_bearer_token
erp5_big_file
erp5_ckeditor
erp5_code_mirror
erp5_commerce
...
...
@@ -330,6 +341,7 @@ erp5_credential_oauth2
erp5_crm
erp5_data_set
erp5_deferred_style_core
erp5_development
erp5_dhtml_style
erp5_diff
erp5_dms
...
...
@@ -344,6 +356,7 @@ erp5_ingestion
erp5_integration
erp5_invoicing
erp5_jquery_sheet_editor
erp5_json_type
erp5_monaco_editor
erp5_oauth
erp5_oauth_facebook_login
...
...
@@ -375,6 +388,8 @@ erp5_web_renderjs
erp5_web_service
erp5_web_widget_library
erp5_wechat_secure_payment
erp5_wendelin
erp5_wendelin_notebook
external_method
slapos_disaster_recovery
"""
...
...
@@ -424,6 +439,7 @@ erp5_authentication_policy
erp5_auto_logout
erp5_base
erp5_bearer_token
erp5_big_file
erp5_ckeditor
erp5_code_mirror
erp5_commerce
...
...
@@ -439,6 +455,7 @@ erp5_credential_oauth2
erp5_crm
erp5_data_set
erp5_deferred_style_core
erp5_development
erp5_dhtml_style
erp5_diff
erp5_dms
...
...
@@ -455,6 +472,7 @@ erp5_integration
erp5_invoicing
erp5_jquery
erp5_jquery_sheet_editor
erp5_json_type
erp5_monaco_editor
erp5_oauth
erp5_oauth_facebook_login
...
...
@@ -486,6 +504,8 @@ erp5_web_renderjs
erp5_web_service
erp5_web_widget_library
erp5_wechat_secure_payment
erp5_wendelin
erp5_wendelin_notebook
erp5_xhtml_style
external_method
slapos_disaster_recovery
...
...
@@ -536,6 +556,7 @@ erp5_authentication_policy
erp5_auto_logout
erp5_base
erp5_bearer_token
erp5_big_file
erp5_ckeditor
erp5_code_mirror
erp5_commerce
...
...
@@ -551,6 +572,7 @@ erp5_credential_oauth2
erp5_crm
erp5_data_set
erp5_deferred_style_core
erp5_development
erp5_dhtml_style
erp5_diff
erp5_dms
...
...
@@ -566,6 +588,7 @@ erp5_integration
erp5_invoicing
erp5_jquery
erp5_jquery_sheet_editor
erp5_json_type
erp5_km_widget_library
erp5_monaco_editor
erp5_oauth
...
...
@@ -598,6 +621,8 @@ erp5_web_renderjs
erp5_web_service
erp5_web_widget_library
erp5_wechat_secure_payment
erp5_wendelin
erp5_wendelin_notebook
erp5_xhtml_style
external_method
slapos_disaster_recovery
...
...
@@ -648,6 +673,7 @@ erp5_authentication_policy
erp5_auto_logout
erp5_base
erp5_bearer_token
erp5_big_file
erp5_ckeditor
erp5_code_mirror
erp5_commerce
...
...
@@ -663,6 +689,7 @@ erp5_credential_oauth2
erp5_crm
erp5_data_set
erp5_deferred_style_core
erp5_development
erp5_dhtml_style
erp5_diff
erp5_dms
...
...
@@ -677,6 +704,7 @@ erp5_ingestion
erp5_integration
erp5_invoicing
erp5_jquery_sheet_editor
erp5_json_type
erp5_monaco_editor
erp5_oauth
erp5_oauth_facebook_login
...
...
@@ -708,6 +736,8 @@ erp5_web_renderjs
erp5_web_service
erp5_web_widget_library
erp5_wechat_secure_payment
erp5_wendelin
erp5_wendelin_notebook
external_method
slapos_disaster_recovery
"""
...
...
@@ -757,6 +787,7 @@ erp5_authentication_policy
erp5_auto_logout
erp5_base
erp5_bearer_token
erp5_big_file
erp5_ckeditor
erp5_code_mirror
erp5_commerce
...
...
@@ -772,6 +803,7 @@ erp5_credential_oauth2
erp5_crm
erp5_data_set
erp5_deferred_style_core
erp5_development
erp5_dhtml_style
erp5_diff
erp5_dms
...
...
@@ -786,6 +818,7 @@ erp5_ingestion
erp5_integration
erp5_invoicing
erp5_jquery_sheet_editor
erp5_json_type
erp5_monaco_editor
erp5_oauth
erp5_oauth_facebook_login
...
...
@@ -817,6 +850,8 @@ erp5_web_renderjs
erp5_web_service
erp5_web_widget_library
erp5_wechat_secure_payment
erp5_wendelin
erp5_wendelin_notebook
erp5_xhtml_style
external_method
slapos_disaster_recovery
...
...
@@ -867,6 +902,7 @@ erp5_authentication_policy
erp5_auto_logout
erp5_base
erp5_bearer_token
erp5_big_file
erp5_ckeditor
erp5_code_mirror
erp5_commerce
...
...
@@ -882,6 +918,7 @@ erp5_credential_oauth2
erp5_crm
erp5_data_set
erp5_deferred_style_core
erp5_development
erp5_dhtml_style
erp5_diff
erp5_dms
...
...
@@ -896,6 +933,7 @@ erp5_ingestion
erp5_integration
erp5_invoicing
erp5_jquery_sheet_editor
erp5_json_type
erp5_monaco_editor
erp5_oauth
erp5_oauth_facebook_login
...
...
@@ -927,6 +965,8 @@ erp5_web_renderjs
erp5_web_service
erp5_web_widget_library
erp5_wechat_secure_payment
erp5_wendelin
erp5_wendelin_notebook
external_method
slapos_disaster_recovery
"""
...
...
@@ -976,6 +1016,7 @@ erp5_authentication_policy
erp5_auto_logout
erp5_base
erp5_bearer_token
erp5_big_file
erp5_ckeditor
erp5_code_mirror
erp5_commerce
...
...
@@ -991,6 +1032,7 @@ erp5_credential_oauth2
erp5_crm
erp5_data_set
erp5_deferred_style_core
erp5_development
erp5_dhtml_style
erp5_diff
erp5_dms
...
...
@@ -1005,6 +1047,7 @@ erp5_ingestion
erp5_integration
erp5_invoicing
erp5_jquery_sheet_editor
erp5_json_type
erp5_monaco_editor
erp5_oauth
erp5_oauth_facebook_login
...
...
@@ -1036,6 +1079,8 @@ erp5_web_renderjs
erp5_web_service
erp5_web_widget_library
erp5_wechat_secure_payment
erp5_wendelin
erp5_wendelin_notebook
external_method
slapos_disaster_recovery
"""
...
...
@@ -1086,6 +1131,7 @@ erp5_authentication_policy
erp5_auto_logout
erp5_base
erp5_bearer_token
erp5_big_file
erp5_ckeditor
erp5_code_mirror
erp5_commerce
...
...
@@ -1101,6 +1147,7 @@ erp5_credential_oauth2
erp5_crm
erp5_data_set
erp5_deferred_style_core
erp5_development
erp5_dhtml_style
erp5_diff
erp5_dms
...
...
@@ -1115,6 +1162,7 @@ erp5_ingestion
erp5_integration
erp5_invoicing
erp5_jquery_sheet_editor
erp5_json_type
erp5_monaco_editor
erp5_oauth
erp5_oauth_facebook_login
...
...
@@ -1146,6 +1194,8 @@ erp5_web_renderjs
erp5_web_service
erp5_web_widget_library
erp5_wechat_secure_payment
erp5_wendelin
erp5_wendelin_notebook
external_method
slapos_disaster_recovery
"""
...
...
@@ -1196,6 +1246,7 @@ erp5_authentication_policy
erp5_auto_logout
erp5_base
erp5_bearer_token
erp5_big_file
erp5_ckeditor
erp5_code_mirror
erp5_commerce
...
...
@@ -1211,6 +1262,7 @@ erp5_credential_oauth2
erp5_crm
erp5_data_set
erp5_deferred_style_core
erp5_development
erp5_dhtml_style
erp5_diff
erp5_dms
...
...
@@ -1225,6 +1277,7 @@ erp5_ingestion
erp5_integration
erp5_invoicing
erp5_jquery_sheet_editor
erp5_json_type
erp5_monaco_editor
erp5_oauth
erp5_oauth_facebook_login
...
...
@@ -1256,6 +1309,8 @@ erp5_web_renderjs
erp5_web_service
erp5_web_widget_library
erp5_wechat_secure_payment
erp5_wendelin
erp5_wendelin_notebook
erp5_xhtml_style
external_method
slapos_disaster_recovery
...
...
@@ -1307,6 +1362,7 @@ erp5_authentication_policy
erp5_auto_logout
erp5_base
erp5_bearer_token
erp5_big_file
erp5_ckeditor
erp5_code_mirror
erp5_commerce
...
...
@@ -1322,6 +1378,7 @@ erp5_credential_oauth2
erp5_crm
erp5_data_set
erp5_deferred_style_core
erp5_development
erp5_dhtml_style
erp5_diff
erp5_dms
...
...
@@ -1336,6 +1393,7 @@ erp5_ingestion
erp5_integration
erp5_invoicing
erp5_jquery_sheet_editor
erp5_json_type
erp5_monaco_editor
erp5_oauth
erp5_oauth_facebook_login
...
...
@@ -1367,6 +1425,8 @@ erp5_web_renderjs
erp5_web_service
erp5_web_widget_library
erp5_wechat_secure_payment
erp5_wendelin
erp5_wendelin_notebook
erp5_xhtml_style
external_method
slapos_disaster_recovery
...
...
@@ -1418,6 +1478,7 @@ erp5_authentication_policy
erp5_auto_logout
erp5_base
erp5_bearer_token
erp5_big_file
erp5_ckeditor
erp5_code_mirror
erp5_commerce
...
...
@@ -1433,6 +1494,7 @@ erp5_credential_oauth2
erp5_crm
erp5_data_set
erp5_deferred_style_core
erp5_development
erp5_dhtml_style
erp5_diff
erp5_dms
...
...
@@ -1447,6 +1509,7 @@ erp5_ingestion
erp5_integration
erp5_invoicing
erp5_jquery_sheet_editor
erp5_json_type
erp5_monaco_editor
erp5_oauth
erp5_oauth_facebook_login
...
...
@@ -1478,6 +1541,8 @@ erp5_web_renderjs
erp5_web_service
erp5_web_widget_library
erp5_wechat_secure_payment
erp5_wendelin
erp5_wendelin_notebook
external_method
slapos_disaster_recovery
"""
...
...
@@ -1529,6 +1594,7 @@ erp5_authentication_policy
erp5_auto_logout
erp5_base
erp5_bearer_token
erp5_big_file
erp5_ckeditor
erp5_code_mirror
erp5_commerce
...
...
@@ -1544,6 +1610,7 @@ erp5_credential_oauth2
erp5_crm
erp5_data_set
erp5_deferred_style_core
erp5_development
erp5_dhtml_style
erp5_diff
erp5_dms
...
...
@@ -1558,6 +1625,7 @@ erp5_ingestion
erp5_integration
erp5_invoicing
erp5_jquery_sheet_editor
erp5_json_type
erp5_monaco_editor
erp5_oauth
erp5_oauth_facebook_login
...
...
@@ -1589,6 +1657,8 @@ erp5_web_renderjs
erp5_web_service
erp5_web_widget_library
erp5_wechat_secure_payment
erp5_wendelin
erp5_wendelin_notebook
erp5_xhtml_style
external_method
slapos_disaster_recovery
...
...
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSXHTML.py
View file @
31300689
...
...
@@ -39,7 +39,7 @@ class TestSlapOSXHTML(SlapOSTestCaseMixin, testXHTML.TestXHTML):
'erp5_corporate_identity'
,
'erp5_corporate_identity_web'
,
'erp5_notebook'
,
'erp5_officejs_notebook'
,
'erp5_web_js_style_ui'
)
'erp5_web_js_style_ui'
,
'erp5_wendelin_notebook'
)
def
afterSetUp
(
self
):
SlapOSTestCaseMixin
.
afterSetUp
(
self
)
# Live tests all uses the same request. For now we remove cell from
...
...
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSXHTML.xml
View file @
31300689
...
...
@@ -6,12 +6,6 @@
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_recorded_property_dict
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testSlapOSXHTML
</string>
</value>
...
...
@@ -55,28 +49,13 @@
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
M
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
I
=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
...
...
@@ -89,7 +68,7 @@
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Q
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
M
=
</string>
</persistent>
</value>
</item>
</dictionary>
...
...
@@ -98,7 +77,7 @@
</dictionary>
</pickle>
</record>
<record
id=
"
4"
aka=
"AAAAAAAAAAQ
="
>
<record
id=
"
3"
aka=
"AAAAAAAAAAM
="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
...
...
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