Commit b8596804 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Jérome Perrin

py2/py3: use print() in erp5_ui_test_core.

parent 2aac1d7b
......@@ -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
......
......@@ -10,5 +10,4 @@ try:
for x in portal_tests.objectValues('Zuite Results')])
except BadRequest:
pass
print "OK"
return printed
return "OK"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment