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
CI / tests (pull_request) Successful in 3m10s
This commit is contained in:
@@ -414,6 +414,11 @@ class EntryTest(unittest.TestCase):
|
||||
self.assertEqual([line.split(" at ")[1] for line in store.text.splitlines() if line.startswith("## ")], ["ccccccc", "ddddddd", "eeeeeee"])
|
||||
self.assertEqual(store.text.count("\n\n\n"), 0)
|
||||
|
||||
def test_writes_over_the_version_it_read(self) -> None:
|
||||
store = MemoryStore("", version=3)
|
||||
record.append(store, [5], "## Chunk 5, 2026-01-01T00:00:00Z, at aaaaaaa\n")
|
||||
self.assertEqual(store.overs, ["3"])
|
||||
|
||||
def test_a_record_that_cannot_be_read_is_a_failure(self) -> None:
|
||||
self.assertEqual(record.append(MemoryStore(fails="no disk"), [5], "x"), Failure("no disk"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user