fix: commit semantic repair changes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
# [DEF:test_clean_release_cli:Module]
|
||||
# @RELATION: BELONGS_TO -> SrcRoot
|
||||
# @COMPLEXITY: 3
|
||||
# @PURPOSE: Smoke tests for the redesigned clean release CLI.
|
||||
# @LAYER: Domain
|
||||
@@ -17,6 +18,8 @@ from src.services.clean_release.enums import CandidateStatus, ComplianceDecision
|
||||
from src.scripts.clean_release_cli import main as cli_main
|
||||
|
||||
|
||||
# [DEF:test_cli_candidate_register_scaffold:Function]
|
||||
# @RELATION: BINDS_TO -> test_clean_release_cli
|
||||
def test_cli_candidate_register_scaffold() -> None:
|
||||
"""Candidate register CLI command smoke test."""
|
||||
exit_code = cli_main(
|
||||
@@ -35,6 +38,10 @@ def test_cli_candidate_register_scaffold() -> None:
|
||||
assert exit_code == 0
|
||||
|
||||
|
||||
# [/DEF:test_cli_candidate_register_scaffold:Function]
|
||||
|
||||
# [DEF:test_cli_manifest_build_scaffold:Function]
|
||||
# @RELATION: BINDS_TO -> test_clean_release_cli
|
||||
def test_cli_manifest_build_scaffold() -> None:
|
||||
"""Manifest build CLI command smoke test."""
|
||||
register_exit = cli_main(
|
||||
@@ -81,6 +88,10 @@ def test_cli_manifest_build_scaffold() -> None:
|
||||
assert manifest_exit == 0
|
||||
|
||||
|
||||
# [/DEF:test_cli_manifest_build_scaffold:Function]
|
||||
|
||||
# [DEF:test_cli_compliance_run_scaffold:Function]
|
||||
# @RELATION: BINDS_TO -> test_clean_release_cli
|
||||
def test_cli_compliance_run_scaffold() -> None:
|
||||
"""Compliance CLI command smoke test for run/status/report/violations."""
|
||||
repository = get_clean_release_repository()
|
||||
@@ -181,6 +192,10 @@ def test_cli_compliance_run_scaffold() -> None:
|
||||
assert report_exit == 0
|
||||
|
||||
|
||||
# [/DEF:test_cli_compliance_run_scaffold:Function]
|
||||
|
||||
# [DEF:test_cli_release_gate_commands_scaffold:Function]
|
||||
# @RELATION: BINDS_TO -> test_clean_release_cli
|
||||
def test_cli_release_gate_commands_scaffold() -> None:
|
||||
"""Release gate CLI smoke test for approve/reject/publish/revoke commands."""
|
||||
repository = get_clean_release_repository()
|
||||
@@ -303,3 +318,4 @@ def test_cli_release_gate_commands_scaffold() -> None:
|
||||
|
||||
|
||||
# [/DEF:test_clean_release_cli:Module]
|
||||
# [/DEF:test_cli_release_gate_commands_scaffold:Function]
|
||||
|
||||
Reference in New Issue
Block a user