Files
orisys-app/apps/autocal/tests/review_test_helpers.py
T
ykcheungab ad049d12e4 修复 Autocal 压头配置、姿态保存与复核性能
阻止不完整标定配置生成 Z 目标,同步当前测点姿态,并将复核文件校验移到后台。通过 476 项全量测试、53 项最终定向复验和代码检查。
2026-10-15 07:51:39 +08:00

13 lines
328 B
Python

"""Bounded event-loop waits for recording review tests."""
import time
from PySide6.QtTest import QTest
def wait_review(widget):
deadline = time.monotonic() + 10
while widget._job is not None and time.monotonic() < deadline:
QTest.qWait(10)
assert widget._job is None, "background review did not finish"