9 lines
338 B
Python
9 lines
338 B
Python
def test_pipeline_imports():
|
|
from pipeline.confidence_ladder import VerdictLevel
|
|
from pipeline.state_gate import FieldSpec, PipelineState, StateGate
|
|
|
|
state = PipelineState({"plan_file": "plan.md"})
|
|
result = StateGate(FieldSpec("plan_file")).validate(state)
|
|
assert VerdictLevel.PARTIAL.is_pass
|
|
assert result.passed
|