Kill the mutants of the issue type settings

This commit is contained in:
Lilleman
2026-11-20 12:40:02 +01:00
parent a7d034acb9
commit a9702c1f2f
2 changed files with 5 additions and 2 deletions
+1 -2
View File
@@ -165,6 +165,5 @@ def load(home: pathlib.Path, ladder_file: pathlib.Path = SHIPPED) -> DoEpicConfi
assert isinstance(statuses, list)
template = values.get(SUB_TASK_SUMMARY)
assert template is None or isinstance(template, str)
finding_type, review_type = (values.get(name, DEFAULT_ISSUE_TYPE) for name in ISSUE_TYPES)
assert isinstance(finding_type, str) and isinstance(review_type, str)
finding_type, review_type = (str(values.get(name, DEFAULT_ISSUE_TYPE)) for name in ISSUE_TYPES)
return DoEpicConfig(folder, url, env_file, clone_folder, language, model, rule, finish_of(values), types.MappingProxyType(labels), tuple(statuses), values.get(AUTOMATION_MOVES) is True, template, finding_type, review_type)