Kill the mutants of stdin, undecodable lines and repeated record writes

This commit is contained in:
2026-11-19 05:25:51 +01:00
parent cff76d2172
commit 983e7328cf
2 changed files with 18 additions and 3 deletions
+5
View File
@@ -838,6 +838,11 @@ class LingeringWorkers(unittest.TestCase):
self.assertEqual(streamed.stopped, held)
self.assertIn("could not record the stop", failed.getvalue())
def test_every_stop_of_a_check_is_recorded_though_the_archive_folder_exists_after_the_first(self):
held = [self.shell(), self.shell()]
_, said, record = self.worker_with(self.RESULT, None, held=held)
self.assertEqual(record.count("stopped shell 7"), 2)
class MemoryWait(unittest.TestCase):
def test_a_worker_starts_only_once_a_quarter_of_memory_is_available(self):