Skip to content

Commit

Permalink
Update manage.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
  • Loading branch information
OlenaYefymenko and webknjaz authored Apr 22, 2024
1 parent 4a53a65 commit 9e653c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 9e653c5

Please sign in to comment.