From 1fef86354fe57c97b6356f5d382a15790a91989a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu> Date: Thu, 1 Jun 2017 10:52:14 +0200 Subject: [PATCH] fix log output for mail test --- tests/test_email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_email.py b/tests/test_email.py index dd7696d1..cae12ce3 100755 --- a/tests/test_email.py +++ b/tests/test_email.py @@ -102,7 +102,7 @@ def send_test_email(): print_red('Failed to send email.') print('No log entry found after %s seconds using command: %s' % (waited, cmd)) return 1 - print('Waiting %s seconds for email sending status.' % waited) + print('Waiting %s seconds for email sending status.' % (timeout - waited)) time.sleep(waited) waited *= 2 if 'bounced' not in out or 'The email account that you tried to reach does not exist.' in out: -- GitLab