12 lines
447 B
Python
12 lines
447 B
Python
"""Unit tests for preflight verification against release metadata."""
|
|
|
|
from src.runtime.cli.preflight import run_preflight_checks
|
|
|
|
|
|
def test_preflight_checks_pass():
|
|
report = run_preflight_checks("runtime_config.local.json")
|
|
assert report["status"] == "pass"
|
|
assert report["checks"]["config_loaded"] == "PASS"
|
|
assert report["checks"]["certified_models"] == "PASS"
|
|
assert report["checks"]["sqlite_directory_writable"] == "PASS"
|