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
Boxiang Sun
slapos.core
Commits
90e13719
Commit
90e13719
authored
Aug 04, 2023
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: Add tests for scripts on slapos_core skin folder
parent
a167726d
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1046 additions
and
32 deletions
+1046
-32
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSCodingStyle.py
...Item/portal_components/test.erp5.testSlapOSCodingStyle.py
+0
-25
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSCoreSkins.py
...teItem/portal_components/test.erp5.testSlapOSCoreSkins.py
+926
-0
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSCoreSkins.xml
...eItem/portal_components/test.erp5.testSlapOSCoreSkins.xml
+112
-0
master/bt5/slapos_erp5/bt/template_test_id_list
master/bt5/slapos_erp5/bt/template_test_id_list
+8
-7
No files found.
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSCodingStyle.py
View file @
90e13719
...
...
@@ -290,35 +290,10 @@ def makeTestSlapOSCodingStyleTestCase(tested_business_template):
'slapos_administration/z_get_uid_group_from_roles_and_users'
,
'slapos_administration/SoftwareInstance_renewCertificate'
,
'slapos_core/Base_updateSlapOSLocalRolesOnSecurityGroups'
,
'slapos_core/ComputeNode_getSecurityCategoryFromAllocationScope'
,
'slapos_core/ComputePartition_getSecurityCategoryFromUser'
,
'slapos_core/ERP5Type_acquireSecurityFromOwner'
,
'slapos_core/ERP5Type_getSecurityCategoryFromAggregateRelatedSoftwareInstanceInstanceTree'
,
'slapos_core/ERP5Type_getSecurityCategoryFromChildAssignmentList'
,
'slapos_core/ERP5Type_getSecurityCategoryFromContentParent'
,
'slapos_core/ERP5Type_getSecurityCategoryFromParentContentParent'
,
'slapos_core/ERP5Type_getSecurityCategoryFromParent'
,
'slapos_core/ERP5Type_getSecurityCategoryMapping'
,
'slapos_core/Event_getSecurityCategoryFromMovementFollowUpAggregateComputeNodeDestinationSection'
,
'slapos_core/Event_getSecurityCategoryFromMovementFollowUpAggregateDestination'
,
'slapos_core/Event_getSecurityCategoryFromMovementFollowUpAggregateDestinationProject'
,
'slapos_core/Item_getSecurityCategoryFromMovementAggregateComputeNodeDestinationSection'
,
'slapos_core/Item_getSecurityCategoryFromMovementAggregateDestination'
,
'slapos_core/Item_getSecurityCategoryFromMovementAggregateDestinationProject'
,
'slapos_core/Item_getSecurityCategoryFromMovementAggregateDestinationSection'
,
'slapos_core/Item_getSecurityCategoryFromMovementDestination'
,
'slapos_core/Item_getSecurityCategoryFromMovementDestinationProject'
,
'slapos_core/Item_getSecurityCategoryFromMovementDestinationSection'
,
'slapos_core/Item_getSecurityCategoryFromMovementLineAggregateComputeNodeDestinationSection'
,
'slapos_core/Item_getSecurityCategoryFromMovementLineAggregateDestination'
,
'slapos_core/Item_getSecurityCategoryFromMovementLineAggregateDestinationProject'
,
'slapos_core/PaymentTransaction_getSecurityCategoryFromUser'
,
'slapos_core/PayzenEvent_getSecurityCategoryFromUser'
,
'slapos_core/Person_getSecurityCategoryFromSelfShadow'
,
'slapos_core/SlaveInstance_getSecurityCategoryFromSoftwareInstance'
,
'slapos_core/SoftwareInstance_getSecurityCategoryFromMovementSpecialiseDestination'
,
'slapos_core/SoftwareInstance_getSecurityCategoryFromMovementSpecialiseDestinationProject'
,
'slapos_core/SoftwareInstance_getSecurityCategoryFromUser'
,
'slapos_disaster_recovery/ERP5Site_checkDeletedDocumentList'
,
'slapos_disaster_recovery/ERP5Site_checkLatestModifiedDocumentList'
,
'slapos_disaster_recovery/ERP5Site_recoverFromRestoration'
,
...
...
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSCoreSkins.py
0 → 100644
View file @
90e13719
This diff is collapsed.
Click to expand it.
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSCoreSkins.xml
0 → 100644
View file @
90e13719
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Test Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
testSlapOSCoreSkins
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testSlapOSCoreSkins
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Test Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</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>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_erp5/bt/template_test_id_list
View file @
90e13719
test.erp5.testSlapOSAuthenticationPolicy
test.erp5.testSlapOSCodingStyle
test.erp5.testSlapOSCoreSkins
test.erp5.testSlapOSERP5Alarm
test.erp5.testSlapOSERP5DefaultScenario
test.erp5.testSlapOSERP5GroupRoleSecurity
test.erp5.testSlapOSERP5InteractionWorkflow
test.erp5.testSlapOSERP5LocalPermissionSlapOSInteractionWorkflow
test.erp5.testSlapOSERP5SiteDump
test.erp5.testSlapOSERP5GroupRoleSecurity
test.erp5.testSlapOSERP5SkinSelection
test.erp5.testSlapOSERP5DefaultScenario
test.erp5.testSlapOSXHTML
test.erp5.testSlapOSCodingStyle
test.erp5.testSlapOSAuthenticationPolicy
test.erp5.testSlapOSERP5InteractionWorkflow
test.erp5.testSlapOSPrecacheManifest
test.erp5.testSlapOSWendelinCoreTwo
test.erp5.testSlapOSPrecacheManifest
\ No newline at end of file
test.erp5.testSlapOSXHTML
\ No newline at end of file
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