feat. Enforce repo review config
This commit is contained in:
@@ -7,6 +7,14 @@ def test_parse_review_command_modes() -> None:
|
||||
assert cmd.name == "review"
|
||||
assert cmd.mode == "security"
|
||||
assert cmd.full is True
|
||||
assert cmd.mode_explicit is True
|
||||
|
||||
|
||||
def test_parse_review_command_defaults_to_non_explicit_summary_mode() -> None:
|
||||
cmd = parse_command("@codex review")
|
||||
assert cmd is not None
|
||||
assert cmd.mode == "summary"
|
||||
assert cmd.mode_explicit is False
|
||||
|
||||
|
||||
def test_parse_fix_branch() -> None:
|
||||
@@ -17,4 +25,4 @@ def test_parse_fix_branch() -> None:
|
||||
|
||||
|
||||
def test_invalid_command_returns_none() -> None:
|
||||
assert parse_command("hello") is None
|
||||
assert parse_command("hello") is None
|
||||
|
||||
Reference in New Issue
Block a user