File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ from __future__ import annotations
2+
3+ from pathlib import Path
4+
5+ from ix_style .verification import QuickstartRunner
6+
7+
8+ def test_quickstart_runner_executes_and_exports_review_packages (tmp_path : Path ) -> None :
9+ output_root = tmp_path / "quickstart_packages"
10+ summary = QuickstartRunner ().run (output_root )
11+
12+ assert summary .audit_passed is True
13+ assert summary .overall_passed is True
14+ assert len (summary .scenario_results ) == 3
15+
16+ exported_dirs = {Path (item .exported_review_dir ).name for item in summary .scenario_results }
17+ assert exported_dirs == {
18+ "power_fault_clamp" ,
19+ "nav_spoof_transition" ,
20+ "recovery_deferred" ,
21+ }
22+
23+ for item in summary .scenario_results :
24+ assert item .scenario_passed is True
25+ assert item .invariants_passed is True
26+ assert item .bundle_valid is True
27+ assert Path (item .exported_review_dir ).is_dir ()
You can’t perform that action at this time.
0 commit comments