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
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
Paul Graydon
erp5
Commits
86cf6e13
Commit
86cf6e13
authored
1 year ago
by
Kazuhiko Shiozaki
Committed by
Jérome Perrin
10 months ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
py2/py3: use print() in erp5_ui_test_core.
parent
d5b2d56b
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 @
86cf6e13
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/TestTool_cleanUpTestResults.py
View file @
86cf6e13
...
...
@@ -10,5 +10,4 @@ try:
for
x
in
portal_tests
.
objectValues
(
'Zuite Results'
)])
except
BadRequest
:
pass
print
"OK"
return
printed
return
"OK"
This diff is collapsed.
Click to expand it.
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