fix. default full review without test execution
This commit is contained in:
8
tests/test_repo_config.py
Normal file
8
tests/test_repo_config.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from gitea_codex_bot.services.repo_config import parse_repo_review_config_text
|
||||
|
||||
|
||||
def test_parse_repo_review_config_defaults_to_full_and_no_tests() -> None:
|
||||
cfg = parse_repo_review_config_text("enabled: true\n", configured=True)
|
||||
assert cfg.default_mode == "full"
|
||||
assert cfg.include_tests is False
|
||||
|
||||
Reference in New Issue
Block a user