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
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
eecff7ec
Commit
eecff7ec
authored
Dec 21, 2022
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Plain Diff
slapos_jio: Dont overwrite renderjs_runner
See merge request
!465
parents
015add27
e2bbb1d2
Changes
19
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
1498 additions
and
48 deletions
+1498
-48
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSCodingStyle.py
...Item/portal_components/test.erp5.testSlapOSCodingStyle.py
+1
-0
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSPrecacheManifest.py
...portal_components/test.erp5.testSlapOSPrecacheManifest.py
+1
-1
master/bt5/slapos_jio/PathTemplateItem/web_site_module/renderjs_oss.xml
...pos_jio/PathTemplateItem/web_site_module/renderjs_oss.xml
+158
-4
master/bt5/slapos_jio/PathTemplateItem/web_site_module/renderjs_oss/hateoas.xml
...PathTemplateItem/web_site_module/renderjs_oss/hateoas.xml
+489
-0
master/bt5/slapos_jio/PathTemplateItem/web_site_module/renderjs_oss/hateoas/connection.xml
...eItem/web_site_module/renderjs_oss/hateoas/connection.xml
+412
-0
master/bt5/slapos_jio/PathTemplateItem/web_site_module/renderjs_oss/unsafe.xml
.../PathTemplateItem/web_site_module/renderjs_oss/unsafe.xml
+411
-0
master/bt5/slapos_jio/bt/template_keep_last_workflow_history_only_path_list
...jio/bt/template_keep_last_workflow_history_only_path_list
+3
-1
master/bt5/slapos_jio/bt/template_keep_path_list
master/bt5/slapos_jio/bt/template_keep_path_list
+1
-0
master/bt5/slapos_jio/bt/template_path_list
master/bt5/slapos_jio/bt/template_path_list
+2
-1
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slapos_renderjs_oss_zuite.xml
...thTemplateItem/portal_tests/slapos_renderjs_oss_zuite.xml
+1
-1
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slapos_renderjs_oss_zuite/testSlapOSJSRenderJSOSS0ServiceWorker.xml
...derjs_oss_zuite/testSlapOSJSRenderJSOSS0ServiceWorker.xml
+1
-1
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slapos_renderjs_oss_zuite/testSlapOSJSRenderJSOSS0ServiceWorker.zpt
...derjs_oss_zuite/testSlapOSJSRenderJSOSS0ServiceWorker.zpt
+2
-2
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slapos_renderjs_oss_zuite/testSlapOSJSRenderJSOSSBasicNavigation.xml
...erjs_oss_zuite/testSlapOSJSRenderJSOSSBasicNavigation.xml
+1
-1
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slapos_renderjs_oss_zuite/testSlapOSJSRenderJSOSSBasicNavigation.zpt
...erjs_oss_zuite/testSlapOSJSRenderJSOSSBasicNavigation.zpt
+1
-1
master/bt5/slapos_jio_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSRenderJSOSSUIHalStyle.py
...ts/test.erp5.testFunctionalSlapOSRenderJSOSSUIHalStyle.py
+4
-4
master/bt5/slapos_jio_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSRenderJSOSSUIHalStyle.xml
...s/test.erp5.testFunctionalSlapOSRenderJSOSSUIHalStyle.xml
+5
-26
master/bt5/slapos_jio_ui_test/bt/template_path_list
master/bt5/slapos_jio_ui_test/bt/template_path_list
+2
-2
master/bt5/slapos_jio_ui_test/bt/template_test_id_list
master/bt5/slapos_jio_ui_test/bt/template_test_id_list
+1
-1
master/bt5/slapos_rss_style/TestTemplateItem/portal_components/test.erp5.testSlapOSRSSStyleSkins.py
...em/portal_components/test.erp5.testSlapOSRSSStyleSkins.py
+2
-2
No files found.
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSCodingStyle.py
View file @
eecff7ec
...
...
@@ -59,6 +59,7 @@ def makeTestSlapOSCodingStyleTestCase(tested_business_template):
slapos_jio/PathTemplateItem/web_site_module/hostingjs.xml
slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_translation_data_js.js
slapos_jio/PathTemplateItem/web_page_module/rjs_gadget_slapos_translation_data_js.xml
slapos_jio/PathTemplateItem/web_site_module/renderjs_oss.xml
# Modified by subprojects during tests
slapos_crm/PathTemplateItem/sale_trade_condition_module/slapos_ticket_trade_condition.xml
...
...
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSPrecacheManifest.py
View file @
eecff7ec
...
...
@@ -35,7 +35,7 @@ class TestSlapOSHostingJSPrecacheManifestList(SlapOSTestCaseMixinWithAbort):
return
self
.
portal
.
restrictedTraverse
(
reference
,
None
)
is
not
None
def
test
(
self
):
self
.
web_site
=
self
.
portal
.
web_site_module
.
renderjs_
runner
self
.
web_site
=
self
.
portal
.
web_site_module
.
renderjs_
oss
self
.
changeSkin
(
'Hal'
)
manifest_script
=
getattr
(
self
.
web_site
,
self
.
manifest_script_id
)
failure_list
=
[]
...
...
master/bt5/slapos_jio/PathTemplateItem/web_site_module/renderjs_
runner
.xml
→
master/bt5/slapos_jio/PathTemplateItem/web_site_module/renderjs_
oss
.xml
View file @
eecff7ec
...
...
@@ -133,7 +133,7 @@
<key>
<tuple>
<int>
99
</int>
<string>
ERP5 Web Site/renderjs_
runner
</string>
<string>
ERP5 Web Site/renderjs_
oss
</string>
</tuple>
</key>
<value>
...
...
@@ -462,11 +462,11 @@ WebSection_getRenderJSRunnerAccessPagePrecacheManifestList</string> </value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
RenderJS
Gadget ERP5
</string>
</value>
<value>
<string>
RenderJS
Runner for OSS
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
renderjs_
runner
</string>
</value>
<value>
<string>
renderjs_
oss
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
...
...
@@ -516,12 +516,18 @@ WebSection_getRenderJSRunnerAccessPagePrecacheManifestList</string> </value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
RenderJS Runner
</string>
</value>
<value>
<string>
RenderJS Runner
for OSS
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAg=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
@@ -585,4 +591,152 @@ WebSection_getRenderJSRunnerAccessPagePrecacheManifestList</string> </value>
<none/>
</pickle>
</record>
<record
id=
"8"
aka=
"AAAAAAAAAAg="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
category_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAk=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAo=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"9"
aka=
"AAAAAAAAAAk="
>
<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>
publish
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1671565044.09
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"10"
aka=
"AAAAAAAAAAo="
>
<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>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
1005.1964.2264.20343
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1671151941.45
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_jio/PathTemplateItem/web_site_module/renderjs_oss/hateoas.xml
0 → 100644
View file @
eecff7ec
This diff is collapsed.
Click to expand it.
master/bt5/slapos_jio/PathTemplateItem/web_site_module/renderjs_oss/hateoas/connection.xml
0 → 100644
View file @
eecff7ec
This diff is collapsed.
Click to expand it.
master/bt5/slapos_jio/PathTemplateItem/web_site_module/renderjs_oss/unsafe.xml
0 → 100644
View file @
eecff7ec
This diff is collapsed.
Click to expand it.
master/bt5/slapos_jio/bt/template_keep_last_workflow_history_only_path_list
View file @
eecff7ec
...
...
@@ -202,4 +202,6 @@ web_page_module/rjs_gadget_erp5_page_slap_test_readonly_parameter_form_js
web_page_module/rjs_vkbeautify_js
web_page_module/slapos_admin_front_page
web_site_module/hostingjs
web_site_module/hostingjs/**
\ No newline at end of file
web_site_module/hostingjs/**
web_site_module/renderjs_oss
web_site_module/renderjs_oss/**
\ No newline at end of file
master/bt5/slapos_jio/bt/template_keep_path_list
View file @
eecff7ec
web_site_module/hateoas
web_site_module/hateoas/**
web_site_module/renderjs_runner
portal_types/ERP5 Form
portal_propery_sheets/SlapOSHateoasSystemPreference
web_page_module/rjs_gadget_erp5_panel_shortcut_html
...
...
master/bt5/slapos_jio/bt/template_path_list
View file @
eecff7ec
...
...
@@ -207,4 +207,5 @@ web_page_module/rjs_vkbeautify_js
web_page_module/slapos_admin_front_page
web_site_module/hostingjs
web_site_module/hostingjs/**
web_site_module/renderjs_runner
\ No newline at end of file
web_site_module/renderjs_oss
web_site_module/renderjs_oss/**
\ No newline at end of file
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slapos_renderjs_
runner
_zuite.xml
→
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slapos_renderjs_
oss
_zuite.xml
View file @
eecff7ec
...
...
@@ -14,7 +14,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
slapos_renderjs_
runner
_zuite
</string>
</value>
<value>
<string>
slapos_renderjs_
oss
_zuite
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slapos_renderjs_
runner_zuite/testSlapOSJSRenderJSRunner
0ServiceWorker.xml
→
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slapos_renderjs_
oss_zuite/testSlapOSJSRenderJSOSS
0ServiceWorker.xml
View file @
eecff7ec
...
...
@@ -42,7 +42,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testSlapOSJSRenderJS
Runner
0ServiceWorker
</string>
</value>
<value>
<string>
testSlapOSJSRenderJS
OSS
0ServiceWorker
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
...
...
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slapos_renderjs_
runner_zuite/testSlapOSJSRenderJSRunner
0ServiceWorker.zpt
→
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slapos_renderjs_
oss_zuite/testSlapOSJSRenderJSOSS
0ServiceWorker.zpt
View file @
eecff7ec
...
...
@@ -12,7 +12,7 @@
<td
rowspan=
"1"
colspan=
"3"
>
Test RenderJS UI
</td>
</tr>
</thead>
<tbody
tal:define=
"web_site_id python: 'renderjs_
runner
'"
>
<tbody
tal:define=
"web_site_id python: 'renderjs_
oss
'"
>
<tal:block
metal:use-macro=
"here/Zuite_CommonTemplate/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSCommonTemplate/macros/set_default_available_language"
/>
<tr>
...
...
@@ -21,7 +21,7 @@
<tr>
<td>
open
</td>
<td
tal:content=
"python: '${base_url}/web_site_module/renderjs_
runner
?ignore_layout:int=1&editable_mode:int=1'"
>
tal:content=
"python: '${base_url}/web_site_module/renderjs_
oss
?ignore_layout:int=1&editable_mode:int=1'"
>
</td>
<td></td>
</tr>
...
...
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slapos_renderjs_
runner_zuite/testSlapOSJSRenderJSRunner
BasicNavigation.xml
→
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slapos_renderjs_
oss_zuite/testSlapOSJSRenderJSOSS
BasicNavigation.xml
View file @
eecff7ec
...
...
@@ -42,7 +42,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
testSlapOSJSRenderJS
Runner
BasicNavigation
</string>
</value>
<value>
<string>
testSlapOSJSRenderJS
OSS
BasicNavigation
</string>
</value>
</item>
<item>
<key>
<string>
output_encoding
</string>
</key>
...
...
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slapos_renderjs_
runner_zuite/testSlapOSJSRenderJSRunner
BasicNavigation.zpt
→
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slapos_renderjs_
oss_zuite/testSlapOSJSRenderJSOSS
BasicNavigation.zpt
View file @
eecff7ec
...
...
@@ -13,7 +13,7 @@
</tr>
</thead>
<tbody>
<tal:block
tal:define=
"global web_site_id python: 'renderjs_
runner
'"
>
<tal:block
tal:define=
"global web_site_id python: 'renderjs_
oss
'"
>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSCommonTemplate/macros/slapos_init_base"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSCommonTemplate/macros/set_default_available_language"
/>
<!-- Logout -->
...
...
master/bt5/slapos_jio_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSRenderJS
Runner
UIHalStyle.py
→
master/bt5/slapos_jio_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSRenderJS
OSS
UIHalStyle.py
View file @
eecff7ec
...
...
@@ -29,18 +29,18 @@ import unittest
from
erp5.component.test.SlapOSTestCaseMixin
import
SlapOSTestCaseMixin
from
Products.ERP5Type.tests.ERP5TypeFunctionalTestCase
import
ERP5TypeFunctionalTestCase
class
TestSlapOSRenderJS
Runner
UIHalStyle
(
SlapOSTestCaseMixin
,
ERP5TypeFunctionalTestCase
):
class
TestSlapOSRenderJS
OSS
UIHalStyle
(
SlapOSTestCaseMixin
,
ERP5TypeFunctionalTestCase
):
foreground
=
0
run_only
=
"slapos_renderjs_
runner
_zuite"
run_only
=
"slapos_renderjs_
oss
_zuite"
def
afterSetUp
(
self
):
ERP5TypeFunctionalTestCase
.
afterSetUp
(
self
)
SlapOSTestCaseMixin
.
afterSetUp
(
self
)
# Ensuring the default available language is "en" for English UI test
self
.
getPortalObject
().
web_site_module
.
renderjs_
runner
.
setDefaultAvailableLanguage
(
'en'
)
self
.
getPortalObject
().
web_site_module
.
renderjs_
oss
.
setDefaultAvailableLanguage
(
'en'
)
self
.
tic
()
def
test_suite
():
suite
=
unittest
.
TestSuite
()
suite
.
addTest
(
unittest
.
makeSuite
(
TestSlapOSRenderJS
Runner
UIHalStyle
))
suite
.
addTest
(
unittest
.
makeSuite
(
TestSlapOSRenderJS
OSS
UIHalStyle
))
return
suite
master/bt5/slapos_jio_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSRenderJS
Runner
UIHalStyle.xml
→
master/bt5/slapos_jio_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalSlapOSRenderJS
OSS
UIHalStyle.xml
View file @
eecff7ec
...
...
@@ -6,15 +6,9 @@
</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>
testFunctionalSlapOSRenderJS
Runner
UIHalStyle
</string>
</value>
<value>
<string>
testFunctionalSlapOSRenderJS
OSS
UIHalStyle
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
...
...
@@ -30,7 +24,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
test.erp5.testFunctionalSlapOSRenderJS
Runner
UIHalStyle
</string>
</value>
<value>
<string>
test.erp5.testFunctionalSlapOSRenderJS
OSS
UIHalStyle
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
...
...
@@ -61,28 +55,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>
...
...
@@ -95,7 +74,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>
...
...
@@ -104,7 +83,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_jio_ui_test/bt/template_path_list
View file @
eecff7ec
portal_tests/slapos_renderjs_
runner
_zuite
portal_tests/slapos_renderjs_
runner
_zuite/**
portal_tests/slapos_renderjs_
oss
_zuite
portal_tests/slapos_renderjs_
oss
_zuite/**
portal_tests/slaposjs_zuite
portal_tests/slaposjs_zuite/**
web_page_module/rjs_gadget_slapos_erp5_page_test_service_worker_html
...
...
master/bt5/slapos_jio_ui_test/bt/template_test_id_list
View file @
eecff7ec
test.erp5.testFunctionalSlapOSUIHalStyle
test.erp5.testFunctionalSlapOSUIZHHalStyle
test.erp5.testFunctionalSlapOSRenderJSRunnerUIHalStyle
\ No newline at end of file
test.erp5.testFunctionalSlapOSRenderJSOSSUIHalStyle
\ No newline at end of file
master/bt5/slapos_rss_style/TestTemplateItem/portal_components/test.erp5.testSlapOSRSSStyleSkins.py
View file @
eecff7ec
...
...
@@ -1074,7 +1074,7 @@ class TestBase_getTicketUrl(TestRSSSyleSkinsMixin):
self
.
assertIn
(
"%s/#/"
%
self
.
portal
.
absolute_url
(),
ticket
.
Base_getTicketUrl
())
web_site
=
self
.
portal
.
web_site_module
.
renderjs_
runner
web_site
=
self
.
portal
.
web_site_module
.
renderjs_
oss
self
.
assertIn
(
"%s/#/"
%
web_site
.
absolute_url
(),
web_site
.
support_request_module
[
ticket
.
getId
()].
Base_getTicketUrl
())
...
...
@@ -1105,7 +1105,7 @@ class TestSlapOSSaleInvoiceTransaction_getRSSTitleAndDescription(TestRSSSyleSkin
invoice
.
SaleInvoiceTransaction_getRSSDescription
())
invoice_via_website
=
\
self
.
portal
.
web_site_module
.
renderjs_
runner
.
accounting_module
[
invoice
.
getId
()]
self
.
portal
.
web_site_module
.
renderjs_
oss
.
accounting_module
[
invoice
.
getId
()]
self
.
assertEqual
(
invoice_via_website
.
SaleInvoiceTransaction_getRSSTitle
(),
"[RenderJS Runner] %s %s"
%
(
text
,
invoice
.
getReference
()))
...
...
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