File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/pytest_plugins/filler Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -166,8 +166,8 @@ def percentage(self) -> float:
166
166
return self .covered_items / self .total_items * 100 if self .total_items else 0
167
167
168
168
@property
169
- def completness_emoji (self ) -> str :
170
- """Return the completness emoji."""
169
+ def completeness_emoji (self ) -> str :
170
+ """Return the completeness emoji."""
171
171
return "🟢" if self .percentage == 100 else "🟡" if self .percentage > 50 else "🔴"
172
172
173
173
def mark_not_applicable (self ):
@@ -239,7 +239,7 @@ def generate_filled_checklist_lines(self) -> List[str]:
239
239
lines [checklist_item .line_number - 1 ] = str (checklist_item )
240
240
241
241
lines [lines .index (PERCENTAGE_LINE )] = (
242
- f"| { self .total_items } | { self .covered_items } | { self .completness_emoji } "
242
+ f"| { self .total_items } | { self .covered_items } | { self .completeness_emoji } "
243
243
f"{ self .percentage :.2f} % |"
244
244
)
245
245
You can’t perform that action at this time.
0 commit comments