Answer stability round 1: 0 🔴, 17 🟡 (0 misread); read line ends as before, drop a stale copy, say why a read failed, and test each failure the round named

This commit is contained in:
2026-11-14 00:25:16 +01:00
parent d15380249d
commit b2142ee620
14 changed files with 151 additions and 43 deletions
@@ -32,6 +32,10 @@ class Act(unittest.TestCase):
def test_a_record_that_fails_is_a_failure(self):
self.assertEqual(main.act("open", MemoryStore(fails="the wiki is down"), self.copy), Failure("the wiki is down"))
record = MemoryStore("# Decisions\n")
main.act("open", record, self.copy)
record.fails = "the wiki is down"
self.assertEqual(main.act("save", record, self.copy), Failure("the wiki is down"))
class BlackBox(unittest.TestCase):