2.2 KiB
2.2 KiB
Debug mode full-suite verification
Verification date: 2026-08-28 (Asia/Shanghai)
Scope: read-only verification of the current shared worktree under D:\web\zyt\app. No production source was modified.
Pytest
Command:
.venv\Scripts\python.exe -m pytest
- Exit code:
1 - Result:
2 failed, 684 passed - Total collected/executed:
686 - Duration:
3195.85s(0:53:15)
Failures:
-
tests/test_diagnosis_order_video_visual.py::test_video_table_embeds_player_and_preserves_row_bound_upload- Assertion location:
tests/test_diagnosis_order_video_visual.py:429 - Assertion:
table.rowHeight(0) >= playback.required_table_row_height() - Actual: row height
246; required row height250.
- Assertion location:
-
tests/test_reception_parity_ui.py::test_reception_auto_loads_structured_ai_analysis_and_matches_reference_geometry- Assertion location:
tests/test_reception_parity_ui.py:1575 - Assertion:
expand_button.size().width() == expand_button.size().height() == 28 - Actual:
QSize(28, 34); expectedQSize(28, 28).
- Assertion location:
Ruff
Command:
.venv\Scripts\python.exe -m ruff check src tests
- Exit code:
1 - Result:
9errors, allF401unused imports and all reported as fixable with--fix.
Findings:
src/doctor_workstation/ui/diagnosis_index_widgets.py:37:5- unusedPySide6.QtGui.QPixmap.src/doctor_workstation/ui/dialogs/ai_consult.py:18:5- unusedPySide6.QtGui.QFont.src/doctor_workstation/ui/dialogs/ai_consult.py:24:5- unusedPySide6.QtGui.QPixmap.src/doctor_workstation/ui/dialogs/ai_consult.py:26:5- unusedPySide6.QtGui.QTextBlockFormat.src/doctor_workstation/ui/dialogs/ai_consult.py:27:5- unusedPySide6.QtGui.QTextCharFormat.src/doctor_workstation/ui/dialogs/ai_consult.py:28:5- unusedPySide6.QtGui.QTextCursor.src/doctor_workstation/ui/dialogs/prescription.py:19:28- unuseddatetime.datetime.src/doctor_workstation/ui/pages/patients.py:11:75- unusedPySide6.QtGui.QPixmap.src/doctor_workstation/ui/pages/prescriptions.py:10:65- unusedPySide6.QtGui.QPixmap.
Overall result
The full verification gate is failing: both pytest and ruff returned exit code 1.