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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
erp5
Commits
b239f98c
Commit
b239f98c
authored
Mar 14, 2023
by
Kazuhiko Shiozaki
Committed by
Xiaowu Zhang
Jul 05, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
py2/py3: use print() in erp5_ui_test_core.
parent
7475f107
Changes
2
Hide 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 @
b239f98c
...
...
@@ -12,11 +12,11 @@ if getattr(context.MailHost, "getMessageList", None) is None:
message_list
=
context
.
MailHost
.
getMessageList
()
for
mail
in
message_list
:
for
part
in
mail
:
print
part
print
"="
*
79
print
""
print
(
part
)
print
(
"="
*
79
)
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,
# 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 @
b239f98c
...
...
@@ -10,5 +10,4 @@ try:
for
x
in
portal_tests
.
objectValues
(
'Zuite Results'
)])
except
BadRequest
:
pass
print
"OK"
return
printed
return
"OK"
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