9 lines
309 B
Python
9 lines
309 B
Python
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
|
|
|