From 9e653c5418284eb283ce91d849f92f05e19c4d0e Mon Sep 17 00:00:00 2001 From: Olena <107187316+OlenaYefymenko@users.noreply.github.com> Date: Mon, 22 Apr 2024 19:07:14 +0300 Subject: [PATCH] Update manage.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) --- manage.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manage.py b/manage.py index 860bff5..e2e6de4 100755 --- a/manage.py +++ b/manage.py @@ -28,6 +28,10 @@ def coverage_context(): fail_under = cov.config.get_option('report:fail_under') if covered < fail_under: + print( + 'Erroring out because the coverage level is lower ' + f'than the mandatory of {fail_under !s}%...', + ) raise SystemExit(2)