(self, key: str, status: str, detail: str)
| 69 | self._update(key, status="skipped", detail=detail) |
| 70 | |
| 71 | def _update(self, key: str, status: str, detail: str): |
| 72 | for s in self.steps: |
| 73 | if s["key"] == key: |
| 74 | s["status"] = status |
| 75 | if detail: |
| 76 | s["detail"] = detail |
| 77 | self._maybe_refresh() |
| 78 | return |
| 79 | |
| 80 | self.steps.append({"key": key, "label": key, "status": status, "detail": detail}) |
| 81 | self._maybe_refresh() |
| 82 | |
| 83 | def _maybe_refresh(self): |
| 84 | if self._refresh_cb: |
no test coverage detected