MCPcopy Create free account
hub / github.com/kubernetes/test-infra / test_pull_ref_commit

Method test_pull_ref_commit

gubernator/pull_request_test.py:50–54  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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)],

Callers

nothing calls this directly

Calls 1

makeFunction · 0.85

Tested by

no test coverage detected