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
141
Merge Requests
141
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
86cf6e13
Commit
86cf6e13
authored
Mar 14, 2023
by
Kazuhiko Shiozaki
Committed by
Jérome Perrin
Mar 01, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
py2/py3: use print() in erp5_ui_test_core.
parent
d5b2d56b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/MailHost_reportMessageList.py
...tal_skins/erp5_ui_test_core/MailHost_reportMessageList.py
+4
-4
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/TestTool_cleanUpTestResults.py
...al_skins/erp5_ui_test_core/TestTool_cleanUpTestResults.py
+1
-2
No files found.
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/MailHost_reportMessageList.py
View file @
86cf6e13
...
@@ -12,11 +12,11 @@ if getattr(context.MailHost, "getMessageList", None) is None:
...
@@ -12,11 +12,11 @@ if getattr(context.MailHost, "getMessageList", None) is None:
message_list
=
context
.
MailHost
.
getMessageList
()
message_list
=
context
.
MailHost
.
getMessageList
()
for
mail
in
message_list
:
for
mail
in
message_list
:
for
part
in
mail
:
for
part
in
mail
:
print
part
print
(
part
)
print
"="
*
79
print
(
"="
*
79
)
print
""
print
(
""
)
print
"Total messages: %s"
%
len
(
message_list
)
print
(
"Total messages: %s"
%
len
(
message_list
)
)
# If messages "looks like html", zope will set content type to text/html,
# If messages "looks like html", zope will set content type to text/html,
# and the assertTextPresent from selenium will be applied after the emails
# and the assertTextPresent from selenium will be applied after the emails
...
...
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/TestTool_cleanUpTestResults.py
View file @
86cf6e13
...
@@ -10,5 +10,4 @@ try:
...
@@ -10,5 +10,4 @@ try:
for
x
in
portal_tests
.
objectValues
(
'Zuite Results'
)])
for
x
in
portal_tests
.
objectValues
(
'Zuite Results'
)])
except
BadRequest
:
except
BadRequest
:
pass
pass
print
"OK"
return
"OK"
return
printed
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