Kill the surviving mutants of the repo pick
CI / tests (pull_request) Failing after 3m43s

This commit is contained in:
2026-11-18 14:49:56 +01:00
parent 29568fab6c
commit 42a6b6533f
4 changed files with 24 additions and 6 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
"""An epic held in memory, for do-epic's tests, held to contract.py like every backend."""
import dataclasses
from do_epic.backend.protocol import EpicIssue, no_child, no_parent, unfit
from do_epic.backend.protocol import EpicIssue, no_child, no_parent, unfit, unfit_label
from failure import Failure
@@ -31,7 +31,7 @@ class MemoryEpic:
def add_label(self, key: str, label: str) -> None | Failure:
if self.fails:
return Failure(self.fails)
if refused := unfit("-", (label,)):
if refused := unfit_label(label):
return refused
child = next((issue for issue in self.issues if issue.key == key and issue.parent == self.epic_key), None)
if child is None: