Kill the surviving mutants of the spend, the setup version and the reversal count, and keep a subagent's type on one line
This commit is contained in:
@@ -131,7 +131,9 @@ class Outcomes(unittest.TestCase):
|
||||
self.assertIsNone(write.archive(kept, str(transcript), "Do it.", outcomes.unfinished("w", "e", "j", "", record=outcomes.Record("c", "Spent since the chunk began, in tokens of x:\n- worker, m: 1")), NOW))
|
||||
self.assertIsNone(write.archive(kept, str(transcript), "Do it.", outcomes.stopped("w", "Ctrl-C"), NOW + 1))
|
||||
self.assertEqual(read.last_spent(kept, str(transcript)), utc(NOW))
|
||||
self.assertIsInstance(read.last_spent(kept, str(pathlib.Path(root, "gone.jsonl"))), Failure)
|
||||
gone = read.last_spent(kept, str(pathlib.Path(root, "gone.jsonl")))
|
||||
self.assertIsInstance(gone, Failure)
|
||||
self.assertTrue(gone.reason.startswith(f"could not read the archive {kept}: "), gone.reason)
|
||||
|
||||
|
||||
class Location(unittest.TestCase):
|
||||
|
||||
Reference in New Issue
Block a user