(self)
| 190 | ) |
| 191 | |
| 192 | def test_reorder_test_bin_reverse(self): |
| 193 | tests = self.make_tests() |
| 194 | reordered_tests = reorder_test_bin(tests, reverse=True) |
| 195 | self.assertIsInstance(reordered_tests, collections.abc.Iterator) |
| 196 | self.assertTestNames( |
| 197 | reordered_tests, |
| 198 | expected=[ |
| 199 | "Tests2.test2", |
| 200 | "Tests2.test1", |
| 201 | "Tests1.test2", |
| 202 | "Tests1.test1", |
| 203 | ], |
| 204 | ) |
| 205 | |
| 206 | def test_reorder_test_bin_random(self): |
| 207 | tests = self.make_tests() |
nothing calls this directly
no test coverage detected