(self, suite=None, suite_class=None)
| 67 | return suite |
| 68 | |
| 69 | def make_test_suite(self, suite=None, suite_class=None): |
| 70 | class Tests1(unittest.TestCase): |
| 71 | def test1(self): |
| 72 | pass |
| 73 | |
| 74 | def test2(self): |
| 75 | pass |
| 76 | |
| 77 | class Tests2(unittest.TestCase): |
| 78 | def test1(self): |
| 79 | pass |
| 80 | |
| 81 | def test2(self): |
| 82 | pass |
| 83 | |
| 84 | return self.build_test_suite( |
| 85 | (Tests1, Tests2), |
| 86 | suite=suite, |
| 87 | suite_class=suite_class, |
| 88 | ) |
| 89 | |
| 90 | def assertTestNames(self, tests, expected): |
| 91 | # Each test.id() has a form like the following: |
no test coverage detected