summaryrefslogtreecommitdiff
path: root/service/test/functional
diff options
context:
space:
mode:
authorDenis Costa <deniscostadsc@gmail.com>2016-11-25 11:59:40 -0200
committerTulio Casagrande <tcasagra@thoughtworks.com>2016-11-29 16:45:06 -0200
commita55252190f83a678e3b74c841e24512e78041b5a (patch)
tree91cfd3758d79fd138f4555ee69d069d5eaab20b5 /service/test/functional
parent7013966e310f9f9135b526ac447fc0718cb32139 (diff)
Changes print from command to function
See: https://github.com/pixelated/project-issues/issues/380
Diffstat (limited to 'service/test/functional')
-rw-r--r--service/test/functional/features/steps/common.py2
-rw-r--r--service/test/functional/features/steps/mail_list.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/service/test/functional/features/steps/common.py b/service/test/functional/features/steps/common.py
index ccad842c..a7800ee8 100644
--- a/service/test/functional/features/steps/common.py
+++ b/service/test/functional/features/steps/common.py
@@ -186,7 +186,7 @@ def get_console_log(context):
for entry in logs:
msg = entry['message']
if not (msg.startswith('x off') or msg.startswith('<- on')):
- print entry['message']
+ print(entry['message'])
def create_email(context):
diff --git a/service/test/functional/features/steps/mail_list.py b/service/test/functional/features/steps/mail_list.py
index 82faa7af..8ac9cb6b 100644
--- a/service/test/functional/features/steps/mail_list.py
+++ b/service/test/functional/features/steps/mail_list.py
@@ -18,7 +18,7 @@ from selenium.common.exceptions import NoSuchElementException
def find_current_mail(context):
- print 'searching for mail [%s]' % context.current_mail_id
+ print('searching for mail [%s]' % context.current_mail_id)
return find_element_by_id(context, '%s' % context.current_mail_id)