fix. default full review without test execution
All checks were successful
ci / test (push) Successful in 39s
ci / publish (push) Successful in 1m7s

This commit is contained in:
Space-Banane
2026-05-24 14:33:19 +02:00
parent f4fd190148
commit 2482c9911f
4 changed files with 116 additions and 26 deletions

View 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