batch_size=1 gives each file its own batch.
(self)
| 1086 | self.assertEqual(len(batches), 1) |
| 1087 | |
| 1088 | def test_batch_size_one(self): |
| 1089 | """batch_size=1 gives each file its own batch.""" |
| 1090 | items = self._make_items([1, 2, 1]) |
| 1091 | batches = group_work_items(items, batch_size=1) |
| 1092 | self.assertEqual(len(batches), 3) |
| 1093 | |
| 1094 | def test_exact_boundary(self): |
| 1095 | """Batch boundary falls exactly between files.""" |
nothing calls this directly
no test coverage detected