File size: 348 Bytes
ef987bb | 1 2 3 4 5 6 7 8 9 10 | from pathlib import Path
from validate_enhancement import case_complete_2007_json_slice
case_complete_2007_json_slice()
report = Path("report.html").read_text(encoding="utf-8").lower()
assert "2007" in report, "report missing 2007 analysis"
assert "gdp" in report and ("life" in report or "预期" in report), "report missing GDP/life analysis"
|