From b1e666eca4e2849b3b2514ed74ad1862858be9cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu> Date: Tue, 14 Mar 2017 16:02:01 +0100 Subject: [PATCH] fix print at the end of the test --- tests/test_partitions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_partitions.py b/tests/test_partitions.py index 20ed8fde..f8f9c333 100755 --- a/tests/test_partitions.py +++ b/tests/test_partitions.py @@ -124,11 +124,13 @@ WARNING = 3 UNTESTABLE = 2 if error: - print('All ok') + print('Errors found') code = ERROR elif warning: + print('Some warnings were found') code = WARNING else: + print('All ok') code = OK sys.exit(code) -- GitLab