fix var name in logging statement
The variable referenced in the logging statement of the job was not the one on which the assertion was made. As a result the message was confusing. Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: I9ee199d96044ead23db8afaa533833f68b4d81d6
This commit is contained in:
parent
ea3931c0f6
commit
7dae6b162a
|
@ -100,7 +100,7 @@
|
||||||
assert:
|
assert:
|
||||||
that: "{{ (coverage_after_total.stdout | float) }} >= {{ (coverage_before_total.stdout | float) }}"
|
that: "{{ (coverage_after_total.stdout | float) }} >= {{ (coverage_before_total.stdout | float) }}"
|
||||||
fail_msg: |
|
fail_msg: |
|
||||||
Before the change {{ (coverage_before.stdout | float)*100 }}% of the lines were covered.
|
Before the change {{ (coverage_before_total.stdout | float)*100 }}% of the lines were covered.
|
||||||
Now it's {{ (coverage_after_total.stdout | float )*100 }}%. Did you write your unit tests?
|
Now it's {{ (coverage_after_total.stdout | float )*100 }}%. Did you write your unit tests?
|
||||||
success_msg: |
|
success_msg: |
|
||||||
Code coverage check successful, {{ (coverage_before_total.stdout | float) * 100 }}% of code is now covered.
|
Code coverage check successful, {{ (coverage_before_total.stdout | float) * 100 }}% of code is now covered.
|
||||||
|
|
Loading…
Reference in New Issue