From 53603b8c4617e617cf98203b1de265149266bb07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu> Date: Thu, 23 Feb 2017 16:33:59 +0100 Subject: [PATCH] add print in send email function --- tests/test_postfix.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_postfix.py b/tests/test_postfix.py index 11d4a65b..95df14f4 100755 --- a/tests/test_postfix.py +++ b/tests/test_postfix.py @@ -51,6 +51,7 @@ def check_relay(): print_green('STMP relay is properly set') def send_test_email(): + print('Sending test email') global all_ok email = "noreply+%s@ubicast.eu" % random.randint(0, 1000) cmd = 'echo "This is a test email" | mail -s "Test email from `cat /etc/hostname`" %s' % email -- GitLab