(self)
| 48 | (0, [], [('J', [(5, 'A'), (4, 'B')])])) |
| 49 | |
| 50 | def test_pull_ref_commit(self): |
| 51 | jobs = {'J1': [make(4, 'v2', 'A', 9)]} |
| 52 | jobs['J1'][0][1]['pull'] = 'master:1234,35:abcd' |
| 53 | _, headings, _ = pull_request.builds_to_table(jobs) |
| 54 | self.assertEqual(headings, [('abcd', 1, 9)]) |
| 55 | |
| 56 | def test_builds_to_table_podutils(self): |
| 57 | jobs = {'J1': [makePodutil(4, 'v2', 'A', 9), makePodutil(3, 'v2', 'B', 10)], |