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
Titouan Soulard
slapos.core
Commits
187c952e
Commit
187c952e
authored
Feb 29, 2024
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: test: restore rss skin selection test
parent
5e50c3cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
+42
-0
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5SkinSelection.py
...ortal_components/test.erp5.testSlapOSERP5SkinSelection.py
+42
-0
No files found.
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5SkinSelection.py
View file @
187c952e
...
@@ -141,6 +141,7 @@ class TestSlaposSkinSelectionMixin(SlapOSTestCaseMixin):
...
@@ -141,6 +141,7 @@ class TestSlaposSkinSelectionMixin(SlapOSTestCaseMixin):
'ODT'
,
'ODT'
,
'RJS'
,
'RJS'
,
'RedirectAssist'
,
'RedirectAssist'
,
'RSS'
,
'SHACACHE'
,
'SHACACHE'
,
'SHADIR'
,
'SHADIR'
,
'SlapOSHalRestricted'
,
'SlapOSHalRestricted'
,
...
@@ -419,6 +420,42 @@ slapos_panel_compatibility
...
@@ -419,6 +420,42 @@ slapos_panel_compatibility
'slapos_folder_list'
:
slapos_folder_list
'slapos_folder_list'
:
slapos_folder_list
}
}
rss_selection_string_list
=
\
"""
custom
erp5_font
erp5_interaction_drop
erp5_web_hal_json
slapos_erp5
slapos_upgrader
slapos_rss_style
%(slapos_folder_list)s
erp5_rss_style
erp5_officejs_codemirror
erp5_officejs_common
erp5_officejs_notebook
erp5_officejs_pdf_viewer
erp5_officejs_svg_editor
erp5_text_editor
erp5_km
erp5_knowledge_pad
erp5_simulation
erp5_dms_base
erp5_dms_web
%(common2_folder_list)s
%(common3_folder_list)s
erp5_immobilisation
erp5_ingestion
erp5_integration
erp5_invoicing
%(common_folder_list)s
external_method
slapos_disaster_recovery
"""
%
{
'common_folder_list'
:
common_folder_list
,
'common2_folder_list'
:
common2_folder_list
,
'common3_folder_list'
:
common3_folder_list
,
'slapos_folder_list'
:
slapos_folder_list
}
shadir_selection_string_list
=
\
shadir_selection_string_list
=
\
"""
"""
...
@@ -686,6 +723,10 @@ slapos_panel_compatibility
...
@@ -686,6 +723,10 @@ slapos_panel_compatibility
self
.
assertSameSkinSelection
(
"ODT"
,
self
.
assertSameSkinSelection
(
"ODT"
,
self
.
odt_selection_string_list
)
self
.
odt_selection_string_list
)
def
_test_15_RSS_selection
(
self
):
self
.
assertSameSkinSelection
(
"RSS"
,
self
.
rss_selection_string_list
)
def
_test_16_SHACACHE_selection
(
self
):
def
_test_16_SHACACHE_selection
(
self
):
self
.
assertSameSkinSelection
(
"SHACACHE"
,
self
.
assertSameSkinSelection
(
"SHACACHE"
,
self
.
shacache_selection_string_list
)
self
.
shacache_selection_string_list
)
...
@@ -718,6 +759,7 @@ class TestSlaposSkinSelection(TestSlaposSkinSelectionMixin):
...
@@ -718,6 +759,7 @@ class TestSlaposSkinSelection(TestSlaposSkinSelectionMixin):
test_12_Download_selection
=
TestSlaposSkinSelectionMixin
.
_test_12_Download_selection
test_12_Download_selection
=
TestSlaposSkinSelectionMixin
.
_test_12_Download_selection
test_13_ODS_selection
=
TestSlaposSkinSelectionMixin
.
_test_13_ODS_selection
test_13_ODS_selection
=
TestSlaposSkinSelectionMixin
.
_test_13_ODS_selection
test_14_ODT_selection
=
TestSlaposSkinSelectionMixin
.
_test_14_ODT_selection
test_14_ODT_selection
=
TestSlaposSkinSelectionMixin
.
_test_14_ODT_selection
test_15_RSS_selection
=
TestSlaposSkinSelectionMixin
.
_test_15_RSS_selection
test_16_SHACACHE_selection
=
TestSlaposSkinSelectionMixin
.
_test_16_SHACACHE_selection
test_16_SHACACHE_selection
=
TestSlaposSkinSelectionMixin
.
_test_16_SHACACHE_selection
test_17_SHADIR_selection
=
TestSlaposSkinSelectionMixin
.
_test_17_SHADIR_selection
test_17_SHADIR_selection
=
TestSlaposSkinSelectionMixin
.
_test_17_SHADIR_selection
test_18_RJS_selection
=
TestSlaposSkinSelectionMixin
.
_test_18_RJS_selection
test_18_RJS_selection
=
TestSlaposSkinSelectionMixin
.
_test_18_RJS_selection
...
...
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