Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
| import pathlib, re | |
| ROOT = pathlib.Path(__file__).resolve().parents[1] | |
| def test_version_361(): | |
| assert (ROOT / "VERSION").read_text(encoding="utf-8").strip() == "3.6.1" | |
| def test_quality_drilldown_symbols_present(): | |
| text = (ROOT / "ui_server.py").read_text(encoding="utf-8") | |
| assert "_quality_confidence_score" in text | |
| assert "_quality_issue_rows" in text | |
| assert "/api/quality/issues" in text | |
| def test_quality_ui_present(): | |
| text = (ROOT / "app.html").read_text(encoding="utf-8") | |
| assert "quality-trust-card" in text | |
| assert "质量可信度 · v3.6.1" in text | |
| assert "展开问题明细" in text | |