From a55252190f83a678e3b74c841e24512e78041b5a Mon Sep 17 00:00:00 2001 From: Denis Costa Date: Fri, 25 Nov 2016 11:59:40 -0200 Subject: Changes print from command to function See: https://github.com/pixelated/project-issues/issues/380 --- service/test/functional/features/steps/common.py | 2 +- service/test/functional/features/steps/mail_list.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'service') 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) -- cgit v1.2.3