Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
7
Merge Requests
7
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
Jérome Perrin
erp5
Commits
0e93d338
Commit
0e93d338
authored
Feb 09, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KM: py3
parent
eabd7f52
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
bt5/erp5_km/TestTemplateItem/portal_components/test.erp5.testKM.py
...km/TestTemplateItem/portal_components/test.erp5.testKM.py
+4
-4
No files found.
bt5/erp5_km/TestTemplateItem/portal_components/test.erp5.testKM.py
View file @
0e93d338
...
@@ -718,7 +718,7 @@ class TestKM(TestKMMixIn):
...
@@ -718,7 +718,7 @@ class TestKM(TestKMMixIn):
gadget_view_form_id
)
gadget_view_form_id
)
# no related docs should exist
# no related docs should exist
self
.
assertIn
(
b
'No result.'
,
relation_form_renderer
())
self
.
assertIn
(
'No result.'
,
relation_form_renderer
())
# set related docs
# set related docs
similar_doc
=
portal
.
web_page_module
.
newContent
(
similar_doc
=
portal
.
web_page_module
.
newContent
(
...
@@ -752,7 +752,7 @@ class TestKM(TestKMMixIn):
...
@@ -752,7 +752,7 @@ class TestKM(TestKMMixIn):
portal
=
self
.
getPortal
()
portal
=
self
.
getPortal
()
portal_gadgets
=
portal
.
portal_gadgets
portal_gadgets
=
portal
.
portal_gadgets
url
=
'%s/ERP5Site_viewHomeAreaRenderer?gadget_mode=web_front'
%
self
.
web_site_url
url
=
'%s/ERP5Site_viewHomeAreaRenderer?gadget_mode=web_front'
%
self
.
web_site_url
response
=
self
.
publish
(
url
,
self
.
auth
)
response
=
self
.
publish
(
url
,
self
.
auth
)
self
.
assertIn
(
str2bytes
(
self
.
web_front_knowledge_pad
.
getTitle
()),
response
.
getBody
())
self
.
assertIn
(
str2bytes
(
self
.
web_front_knowledge_pad
.
getTitle
()),
response
.
getBody
())
...
...
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