Orchestrata Ultimate › Tests › Reference › kernel › test_pipeline_cli_more

Tests reference — tests/kernel/test_pipeline_cli_more.py

Module of tests/kernel, split out because the directory page would be too large.

Prose pending.

tests/kernel/test_pipeline_cli_more.py

source · 7 tests · 221 lines

Additional tests for kernel.pipeline_cli to reach 100% line coverage.

Covers: kernel.pipeline, kernel.pipeline_cli, core.packet/ (package)

Kind Name Line Description
class TestPipelineCliMore 71
method TestPipelineCliMore.test_main_kernel_none 86 Cover the kernel=None path in main() (lines 35-36).
method TestPipelineCliMore.test_main_respond_implementation_ready 103 Cover respond with implementation_ready message (lines 124-129).
method TestPipelineCliMore.test_main_respond_qa_complete_passed 126 Cover respond with qa_complete and test_passed=True (lines 130-138).
method TestPipelineCliMore.test_main_respond_qa_complete_failed 154 Cover respond with qa_complete and test_passed=False (lines 130-140).
method TestPipelineCliMore.test_main_respond_unknown_subject 182 Cover respond with an unrecognised message subject (lines 141-143).
method TestPipelineCliMore.test_main_status_with_active_thread 204 Cover status command when an active thread is set (line 151).
method TestPipelineCliMore.test_main_approve_blocked 214 Cover approve blocked path when kernel.approve returns False (line 172).