Files

14 lines
396 B
Python

"""Unit tests for smoke test execution."""
from src.runtime.cli.smoke import run_smoke_test
def test_smoke_test_execution_valid():
res = run_smoke_test(
config_path="runtime_config.local.json",
article_path="examples/sample_article_valid.json",
ecp_path="examples/sample_ecp_snapshot.json",
)
assert res["status"] == "PASS"
assert res["exit_code"] == 0