Answer stability round 1: 0 🔴, 14 🟡 (0 misread); tests that kill the surviving mutants, with a versioned MemoryStore and appended_to, plan/named_paths.py, TakenIn's docstring and the run-heavy rule naming LAUNCHERS; three places left to item 300
CI / tests (pull_request) Successful in 3m10s

This commit is contained in:
2026-11-16 16:53:36 +01:00
parent 79e0f755e2
commit 31da587415
19 changed files with 96 additions and 19 deletions
+6
View File
@@ -236,6 +236,12 @@ class Located(unittest.TestCase):
class Update(unittest.TestCase):
def test_writes_over_the_version_it_read(self):
record = MemoryStore("# Reading cost\n", version=2)
archive = pathlib.Path(self.enterContext(tempfile.TemporaryDirectory()))
self.assertNotIsInstance(main.update(record, archive, Checkout("/c/p", "/c/p", frozenset(), BRANCH), "/h", "2026-11-14T00:00:00Z"), Failure)
self.assertEqual(record.overs, ["2"])
def test_fails_where_the_record_refuses_the_write(self):
class Unwritable(MemoryStore):
def write(self, text: str, over: str | None) -> Held | Failure: